diff options
| author | 2018-06-21 13:57:28 -0400 | |
|---|---|---|
| committer | 2018-06-27 02:07:34 +0000 | |
| commit | a5c846c3fa74d680eddca6b994b7cf8449d301ef (patch) | |
| tree | 1495e4eb8e8f351d8cdf7aedd8a7c2948ef12ce0 /libs/hwui/TextDropShadowCache.cpp | |
| parent | 694b4ae84690b75f400843cc5d65a3cae7679bd4 (diff) | |
Activate dark theme when the UiMode is UI_MODE_NIGHT_YES.
This change also activates night mode when the device enters
battery saver (saving substantial power on OLED screens).
Bug: 80307398
Test: adb shell service call uimode 4 i32 1 # nightfall
      adb shell service call uimode 4 i32 2 # morningtide
Change-Id: I9c08a749d4cd99ab7231363b045949eb2e830dfa
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
0 files changed, 0 insertions, 0 deletions