RK3328 android 8.1 的固件setting和状态栏隐藏了移动网络设置和信号图标,如何打开?
RK3328-PC,现在移植移远的EC20 4G模块上去,但是现在提供的源码将settings中的移动网络设置、基带信息,状态栏的信号的显示隐藏了,请问如何恢复移动网络信息这些选项显示和设置? 可以参考android7.1 的把相关设置东西添加进去 jpchen 发表于 2020-9-25 14:59可以参考android7.1 的把相关设置东西添加进去
有相关的说明文档吗? greengi 发表于 2020-9-25 23:41
有相关的说明文档吗?
+++ b/device/rockchip/rk3328/rk3328_box/manifest.xml
@@ -175,42 +175,5 @@
<version>26.0</version>
</sepolicy>
<hal format="hidl">
<name>android.hardware.broadcastradio</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBroadcastRadioFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.radio.deprecated</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOemHook</name>
<instance>slot1</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IRadio</name>
<instance>slot1</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.gnss</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IGnss</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
+++ b/device/rockchip/rk3328/rk3328_box/overlay/frameworks/base/core/res/res/values/config.xml
@@ -28,15 +28,6 @@
<!-- the 6th element indicates boot-time dependency-met value. -->
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1,-1,true"</item>
<item>"mobile,0,0,0,-1,true"</item>
<item>"mobile_mms,2,0,2,60000,false"</item>
<item>"mobile_supl,3,0,2,60000,true"</item>
<item>"mobile_dun,4,0,2,60000,true"</item>
<item>"mobile_hipri,5,0,3,60000,true"</item>
<item>"mobile_fota,10,0,2,60000,true"</item>
<item>"mobile_ims,11,0,2,60000,true"</item>
<item>"mobile_cbs,12,0,2,60000,true"</item>
<item>"bluetooth,7,7,0,-1,true"</item>
<item>"ethernet,9,9,9,-1,true"</item>
</string-array>
+++ b/device/rockchip/common/BoardConfig.mk
@@ -321,7 +321,7 @@ BOARD_FORCE_UDISK_VISIBLE ?= true
BOARD_DISABLE_SAFE_MODE ?= true
#enable 3g dongle
BOARD_HAVE_DONGLE ?= true
页:
[1]