OS:Android13
接上sim卡,有正常的4G网络出来,但时区没有自动更新过来.
看代码里面def_auto_time_zone是打开的,device/rockchip/common也没有看到有重新赋值。
packages/SettingsProvider/res/values/defaults.xml:31: <bool name="def_auto_time_zone">true</bo
解决方案如下:
diff --git a/device.mk b/device.mk index ad958d84..8b351098 100644 --- a/device.mk +++ b/device.mk @@ -260,6 +260,9 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml endif +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml +
标签:xml,同步,RK3588,联网,hardware,etc,device,android,COPY From: https://www.cnblogs.com/wmc245376374/p/18429772