diff options
author | Bookatz <bookatz@google.com> | 2017-04-10 13:10:46 -0700 |
---|---|---|
committer | Bookatz <bookatz@google.com> | 2017-04-10 14:28:00 -0700 |
commit | 4a3eda992b70601e26a76d9492b2f9381cf0fe51 (patch) | |
tree | fc113c6c1d1baf3a104db2dd16ad1a2acf03a254 /tools/aapt2/java/JavaClassGenerator.h | |
parent | c922c4827a94fe436d2005c63e8b8d51a6bbb159 (diff) |
Fix double-detach DualTimer bug
DualTimer attempted to detach its subTimer twice when reset(true) was
called, once explicitly and once via a call to the main timer. This
fixes that problem by getting rid of the explicit detach in reset.
Bug: 37208694
Test: runtest -x
frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
and manually looked for "Removed unknown observer" error in logcat.
Change-Id: Ic5ff7d799d46236a74ab0825e108bef40bac0360
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.h')
0 files changed, 0 insertions, 0 deletions