Lock screen long-press to open wallpaper picker.
Implements a long-press gesture on the lock screen that opens the
wallpaper picker (WPP) screen (after properly unlocking the device).
- Respects device state
- Only works on the lock screen - does not work when unlocked, quick
or quick-quick settings is shown, etc.
- Lets other lock screen UI components receive and handle touch
(including smart space, unlock/UDFPS, shortcuts, shade, and
bouncer)
- Flag gated - this is a brand new flag as we're not sure whether we
want to roll this out and it can be rolled out berore the WPP revamp
project
- Logging included - logs long-press popup impressions and clicks, to
help inform launch/no-launch decisions and identify falsing challenges
Fix: 265987364
Test: manually verified that it matches the UX spec: does not work
unless locked and showing the lock screen un-occluded (tested occlusion
with the camera app). Does not work if quick settings or quick-quick
settings is visible. Does not work if unlocked with or without the shade
being shown.
Test: manually verified that smart space clicks, notification clicks and
long presses, UDFPS, and shortcut buttons all still work as advertised.
Test: unit tests included
Change-Id: I600f3e60a03b58691ffd66cddb1be6ff0c80b3ca
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
index e8a5e7e..1826c00 100644
--- a/packages/SystemUI/res/values/config.xml
+++ b/packages/SystemUI/res/values/config.xml
@@ -824,4 +824,8 @@
<item>bottom_end:wallet</item>
</string-array>
+ <!-- Package name for the app that implements the wallpaper picker. -->
+ <string name="config_wallpaperPickerPackage" translatable="false">
+ com.android.wallpaper
+ </string>
</resources>