diff options
author | Amith Yamasani <yamasani@google.com> | 2016-09-13 14:24:01 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2016-09-15 13:38:43 -0700 |
commit | 693d869b32b375a6b3812aa56145e334b3a8c219 (patch) | |
tree | 95617ce364c556d0ef7a465201740a10ef940777 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1b6e3e48242258e1dafb1709c1f11acd5ee1b1fa (diff) |
Handle charging state separately from temporary parole
Don't use the parole state to deal with the plugged-in trigger.
Otherwise standby apps will only be paroled for a few minutes
after plugging in to charge and not the entire duration.
Use a different intent for charging state, since the CHARGING
intent takes several seconds to be received.
A refactor some time ago changed the charging state behavior
that caused this regression.
Bug: 31399882
Change-Id: Ic036de5e136b3151b225473d0c3f440adb3b48e7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions