Android 12 桌面去掉搜索框和 隐藏设置搜索框 隐藏应用页的搜索框

去掉桌面搜索框

--- a/packages/apps/Launcher3/src/com/android/launcher3/config/FeatureFlags.java
+++ b/packages/apps/Launcher3/src/com/android/launcher3/config/FeatureFlags.java
@@ -58,7 +58,7 @@ public final class FeatureFlags {
      * Enable moving the QSB on the 0th screen of the workspace. This is not a configuration feature
      * and should be modified at a project level.
      */
-    public static final boolean QSB_ON_FIRST_SCREEN = true;
+    public static final boolean QSB_ON_FIRST_SCREEN = false;   //yim mod
 
     /**
      * Feature flag to handle define config changes dynamically instead of killing the process.

隐藏设置搜索框

--- a/packages/apps/Settings/src/com/android/settings/homepage/SettingsHomepageActivity.java
+++ b/packages/apps/Settings/src/com/android/settings/homepage/SettingsHomepageActivity.java
@@ -44,6 +44,8 @&#

你可能感兴趣的:(SPRD,Android,12,/,13,源码修改,android)