OSDN Git Service

Update the behavior of the Dark theme slice
authorSunny Shao <sunnyshao@google.com>
Thu, 19 Dec 2019 09:04:58 +0000 (17:04 +0800)
committerSunny Shao <sunnyshao@google.com>
Fri, 20 Dec 2019 05:25:49 +0000 (13:25 +0800)
commit5f42f2f7a7589fed30caae1d11d0e9757639caf1
tree383591404fe1365e45456db6fcd65593a8b459af
parent30bf9e2e5ee78c3ad19ec92568ccdd26afa3ff46
Update the behavior of the Dark theme slice

- Dark theme slice disappear when battery saver is ON.

Bug: 146149658
Fixes: 142476879
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ROBOTEST_FILTER=com.android.settings.homepage.contextualcards.slices.DarkThemeSliceTest
Change-Id: I071014d7f0658db2098e353717afda905f162ecd
src/com/android/settings/homepage/contextualcards/slices/DarkThemeSlice.java
tests/robotests/src/com/android/settings/homepage/contextualcards/slices/DarkThemeSliceTest.java