diff options
author | Adam Lesinski <adamlesinski@google.com> | 2015-07-21 12:08:56 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2015-07-21 12:08:56 -0700 |
commit | 6856964444d0bb0fee6d7f62ae3f443f67244514 (patch) | |
tree | 09a161c0a89e6f4cfc5697ff19658bd59031ceb2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4e9c63cbe1712f750d5eaaa044e957c7f7696bf8 (diff) |
BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources
Previously we tried to read /d/wakeup_sources to gather kernel wakelock data. If that
fails we used the older sys file /proc/wakelocks.
N7 has both /proc/wakelocks and /d/wakeup_sources, but /proc/wakelocks
has the actual data we need. All other devices are using /d/wakeup_sources, so
only N7 experienced a loss of kernel wakelock data.
The original regression was introduced here: ag/659258
Bug:22556242
Change-Id: I51ec68e957f587bc1466e24f0a1dbc8cd7753ac6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions