论坛版主
|
阅读: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>
|