diff options
| author | 2017-03-13 12:25:13 -0700 | |
|---|---|---|
| committer | 2017-03-13 22:39:24 +0000 | |
| commit | 5f212c86a4fce26e5f87413df3dbfee181fa1ff8 (patch) | |
| tree | aaabc4bcdfc42822a9a6f3c297f92981e87464f3 /libs/hwui/ProgramCache.cpp | |
| parent | 208e2644618af7474f399089c264f0da1cfb0c81 (diff) | |
BatteryStats: Prevent double-detaching Counter
Detaching a Counter from a TimeBase means you can't use it anymore.
Only newly constructed Counters are automatically attached to a TimeBase.
Bug: 34200689
Test: make FrameworkCoreTests && adb install ... && adb shell am instrument -w -e class com.android.internal.os.BatteryStatsSensorTest com.android.frameworks.coretests
Change-Id: I9309000d5625aa6fe61a3c05f135e5828137d8ce
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions