rk3368禁止显示luncher和开机启动的壁纸

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lb5761311/article/details/86288237

修改地址如下:
rameworks/base/core/res/res/values/config.xml
因为有点懒就直接列出diff 差异

   <string name="image_wallpaper_component" translatable="false">com.android.systemui/com.android.systemui.ImageWallpaper</string>
 
     <!-- True if WallpaperService is enabled -->
-    <bool name="config_enableWallpaperService">true</bool>
+    <bool name="config_enableWallpaperService">false</bool>
 
     <!-- Whether to enable network location overlay which allows network
          location provider to be replaced by an app at run-time. When disabled,
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml
index 80f4d4cea0b..8a4a641aed1 100644
--- a/packages/SystemUI/AndroidManifest.xml
+++ b/packages/SystemUI/AndroidManifest.xml
@@ -206,6 +206,7 @@
 
         <!-- Alternate Recents -->
         <activity android:name=".recents.RecentsActivity"
+                  android:theme="@style/RecentsTheme.NoWallpaper"
                   android:label="@string/accessibility_desc_recent_apps"
                   android:exported="false"
                   android:launchMode="singleInstance"
@@ -213,7 +214,7 @@
                   android:stateNotNeeded="true"
                   android:resumeWhilePausing="true"
                   android:screenOrientation="behind"
-                  android:theme="@style/config_recents_activity_theme">
+                  >
             <intent-filter>
                 <action android:name="com.android.systemui.recents.TOGGLE_RECENTS" />
             </intent-filter>

猜你喜欢

转载自blog.csdn.net/lb5761311/article/details/86288237