OSDN Git Service

Once auto-battery saver is ever set, don't show suggestion
authorMakoto Onuki <omakoto@google.com>
Wed, 4 Apr 2018 19:45:52 +0000 (12:45 -0700)
committerMakoto Onuki <omakoto@google.com>
Wed, 4 Apr 2018 20:58:24 +0000 (13:58 -0700)
commite0c97aa65de794c8406725c730ecf3033c5e38b5
treed9e7f4c284e9edaed75cf6f96b040742f5ba5050
parenta8c53f7dcb3092967199f0d5ed6000285401143d
Once auto-battery saver is ever set, don't show suggestion

Bug: 77228046
Test: manual test after adb shell settings delete secure suppress_auto_battery_saver_suggestion
Test: m -j ROBOTEST_FILTER=BatterySaverButtonPreferenceControllerTest RunSettingsRoboTests
Change-Id: If0d26f05399a33269d9540e6e09292ce46765637
src/com/android/settings/fuelgauge/batterysaver/AutoBatterySaverPreferenceController.java