OSDN Git Service

When wallpaper colors not ready set sys ui flags when ready
authorMatthew Ng <ngmatthew@google.com>
Thu, 19 Jul 2018 20:30:54 +0000 (13:30 -0700)
committerMatthew Ng <ngmatthew@google.com>
Thu, 26 Jul 2018 22:22:41 +0000 (15:22 -0700)
commit932b20272a23c02412081803c6b88886efc247be
tree30bab904b1cf1d69b18f884806125e7c64b4ce99
parent623b46c2683706786120d6ffba7ad6c98667aa7f
When wallpaper colors not ready set sys ui flags when ready

Uses a listener on wallpaper manager to get the wallpaper colors for
fallback home. When the colors are ready it can correctly set the system
ui flags.

Change-Id: I7119c0f035245539cb69bec1ccccecef64d3aff5
Fixes: 79776583
Test: reboot phone, unlock with pin/pattern with light them wallpaper
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FallbackHomeActivityTest
src/com/android/settings/FallbackHome.java
tests/robotests/src/com/android/settings/wallpaper/FallbackHomeActivityTest.java [new file with mode: 0644]