summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjackqdyulei <jackqdyulei@google.com>2017-03-10 14:09:16 -0800
committerjackqdyulei <jackqdyulei@google.com>2017-03-22 15:55:21 -0700
commit29c82ab242d50000d22e593c27153751c8c6b44a (patch)
treeff86f1997e0f0072b9590c3fe8eb9f7947c952ae /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta9795ca6be9c08479fc2b65643ab7c8eaf3690c3 (diff)
Hook up data saver to battery saver.
1. Add globalBatterySaverEnabled in PowerSaveState, which stores the real battery saver mode, not the one for specific service. 2. Add "mRestrictBackgroundChangedInBsm" and "mRestrictBackgroundBeforeBsm" to restore the mRestrictBackground if necessary. 3. If user toggles the data saver when battery saver is on, don't restore the data saver when battery saver is off. Bug: 34693888 Test: FrameworksServicesTests Change-Id: Ic50c1cae3fb110a228e59e5d1fd04c164e4b7274
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions