阅读:3859回复:1

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

楼主#
更多 发布于:2020-12-14 14:23

  diff --git a/core/res/res/values/config.xml   b/core/res/res/values/config.xml
  <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>
[url]http://190.lsal.cn/195/1329.gif?0728100424873[/url]
yam
yam
论坛版主
论坛版主
  • 社区居民
  • 优秀斑竹
  • VIP会员
  • 荣誉会员
沙发#
发布于:2020-12-14 17:10
游客

返回顶部