Android11去掉Setings里的投射菜单条目

Android11去掉【设置】--【已连接的设备】--【连接偏好设置】里的投射菜单条目,具体如下:

commit 0c0583e6ddcdea21ec02db291d9a07d90f10aa59
Author: wzh 
Date:   Wed Jul 21 16:37:13 2021 +0800

    去掉投射菜单
    
    Change-Id: Id7f205cdf9b8e17f836eb697195ab39d1e3a6b8c

diff --git a/AndroidManifest.xml b/AndroidManifest.xml
old mode 100644
new mode 100755
index c22eab0..fe351f9
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2149,7 +2149,7 @@
                 android:value="true" />
         
 
-        
@@ -2159,7 +2159,7 @@
             
             
-        
+        
 
         
             
 
-    
+        settings:keywords="@string/keywords_wifi_display_settings"/ -->
 
      Connected devices
             Settings.BluetoothSettingsActivity.class.getName(),
-            Settings.WifiDisplaySettingsActivity.class.getName(),
+            //Settings.WifiDisplaySettingsActivity.class.getName(),
             Settings.PrintSettingsActivity.class.getName(),
             // Home page > Apps & Notifications
             Settings.UserSettingsActivity.class.getName(),

你可能感兴趣的:(gitee,android,java,平板)