summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2018-02-28 18:05:02 -0800
committerPeiyong Lin <lpy@google.com>2018-03-09 17:47:55 +0000
commit0058e82a6f2025e043fc57d7660c828b05cb7029 (patch)
treed75e140b9d12625165407aca4c6b385876fa2149
parent4c40159f15f1eb988b46b7c906537337abc7cc59 (diff)
downloadandroid_packages_wallpapers_LivePicker-0058e82a6f2025e043fc57d7660c828b05cb7029.tar.gz
android_packages_wallpapers_LivePicker-0058e82a6f2025e043fc57d7660c828b05cb7029.tar.bz2
android_packages_wallpapers_LivePicker-0058e82a6f2025e043fc57d7660c828b05cb7029.zip
[Wallpaper] Add wide color gamut support into LivePicker.
This patch adds wide color gamut support into LivePicker activities to deliver a compelling experience when users are previewing live wallpaper. BUG: 74008618 Test: adb shell dumpsys SurfaceFlinger Change-Id: Ib4a95649acea82d346267b9a34155e6e0733c398
-rw-r--r--AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index af14111..e5904fa 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -36,6 +36,7 @@
<activity android:name="LiveWallpaperActivity"
android:label="@string/live_wallpaper_picker_label"
android:theme="@style/LivePickerTheme"
+ android:colorMode="wideColorGamut"
android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.service.wallpaper.LIVE_WALLPAPER_CHOOSER" />
@@ -48,6 +49,7 @@
<activity android:name="LiveWallpaperChange"
android:label="@string/live_wallpaper_preview_title"
+ android:colorMode="wideColorGamut"
android:theme="@style/Preview">
<intent-filter>
<action android:name="android.service.wallpaper.CHANGE_LIVE_WALLPAPER" />
@@ -57,6 +59,7 @@
<activity android:name="LiveWallpaperPreview"
android:label="@string/live_wallpaper_preview_title"
+ android:colorMode="wideColorGamut"
android:theme="@style/Preview" />
</application>