OSDN Git Service

Add theme style flag to WallpaperColors
authorLucas Dupin <dupin@google.com>
Thu, 29 Jun 2017 19:20:29 +0000 (12:20 -0700)
committerLucas Dupin <dupin@google.com>
Fri, 7 Jul 2017 21:36:45 +0000 (14:36 -0700)
commit4bd24f36c5c4845bc9fda9c7211d1be2937a748a
tree7af638a350351830ea8bc5a5b1d3f60ae7702d23
parent845a4035ae08032ae5fc097bb8027c87fcc76f0a
Add theme style flag to WallpaperColors

Theme colors should always be the same in sysui and launcher.
We're now sharing a hint HINT_SUPPORTS_DARK_THEME, to make sure
we're never out of sync.

Test: runtest -x tests/Internal/src/android/app/WallpaperColorsTest.java
Fixes: 63140091
Change-Id: Ibd196f540d77269df377804b0f4d4d0d20820067
core/java/android/app/WallpaperColors.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
tests/Internal/src/android/app/WallpaperColorsTest.java [new file with mode: 0644]