Set wifi default country_code

Add corresponding properties

Add the following statement to the corresponding mk file:

Makefile:

    device/(Product)/(Platform)/(Platform).mk

Add_line:

    PRODUCT_PROPERTY_OVERRIDES += \

        ro.boot.wificountrycode=CN


Confirm after compiling

Check whether the corresponding properties are added successfully in the build.prop file in the out/target/product/ Platform /system/ directory or in the out/target/product/ Platform /vendor/ directory :

build.prop

    ro.boot.wificountrycode=CN

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324772900&siteId=291194637