RK3588S Android12去掉设置-关于平板电脑 中的IP地址,WLAN MAC地址,蓝牙地址等信息

--- a/packages/apps/Settings/res/values/config.xml
+++ b/packages/apps/Settings/res/values/config.xml
@@ -444,10 +444,10 @@
     <bool name="config_show_top_level_display">true</bool>
 
     <!-- Whether wifi_ip_address should be shown or not. -->
-    <bool name="config_show_wifi_ip_address">true</bool>
+    <bool name="config_show_wifi_ip_address">false</bool>
 
     <!-- Whether wifi_mac_address should be shown or not. -->
-    <bool name="config_show_wifi_mac_address">true</bool>
+    <bool name="config_show_wifi_mac_address">false</bool>
 
     <!-- Whether to disable "Uninstall Updates" menu item for System apps or not. -->
     <bool name="config_disable_uninstall_update">false</bool>
diff --git a/packages/apps/Settings/res/xml/my_device_info.xml b/packages/apps/Settings/res/xml/my_device_info.xml
old mode 100644
new mode 100755
index 9547318a86..032b5b154c
--- a/packages/apps/Settings/res/xml/my_device_info.xml
+++ b/packages/apps/Settings/res/xml/my_device_info.xml
@@ -145,13 +145,13 @@
             settings:enableCopying="true"/>
 
         <!-- Wi-Fi MAC address -->
-        <Preference
+        <!--<Preference
             android:key="saved_accesspoints_wifi_mac_address"
             android:order="45"
             android:title="@string/status_wifi_mac_address"
             android:summary="@string/view_saved_network"
             android:fragment="com.android.settings.wifi.savedaccesspoints2.SavedAccessPointsWifiSettings2"
-            settings:enableCopying="false"/>
+            settings:enableCopying="false"/>-->
 
         <!-- Factory Wi-Fi MAC address -->
         <Preference
@@ -163,13 +163,13 @@
             settings:enableCopying="true"/>
 
         <!-- Bluetooth address -->
-        <Preference
+        <!--<Preference
             android:key="bt_address"
             android:order="47"
             android:title="@string/status_bt_address"
             android:summary="@string/summary_placeholder"
             android:selectable="false"
-            settings:enableCopying="true"/>
+            settings:enableCopying="true"/>-->
 
         <!-- Device up time -->

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值