diff options
author | Makoto Onuki <omakoto@google.com> | 2018-03-22 10:43:03 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2018-03-27 10:42:05 -0700 |
commit | 52c6295e22e6eb205300a5471c67ef26ae9466fa (patch) | |
tree | e445931ba171d242c1c4468756cc81baee2962b4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d52c532df7c7c481bf6e482c37f4e0ee02618fce (diff) |
Add auto battery saver suggestion notification/dialog
Spec: go/ebs-low-battery-mode-flow
- Basically when the user manually enables battery saver 4 times,
we show this notification to suggest turning on "scheduled"
(i.e. auto) battery saver.
- We show it through 8th time. If the user hits "no thanks",
or if auto-saver is enabled already, we will not show it.
- Introduced a new notification channel "HINTS" with
IMPORTANCE_DEFAULT.
Bug: 74120126
Test: Manual test with ll development/scripts/battery_simulator.py
Change-Id: I713abc59dc7caee6882ba848c3e3aabaf778c2bd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions