rk3368禁止顯示luncher和開機啟動的桌布
阿新 • • 發佈:2019-01-11
修改地址如下:
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>