summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-06-05 17:08:22 -0700
committerAdam Lesinski <adamlesinski@google.com>2015-06-05 17:47:07 -0700
commit6b0331a03025f2ea8c966bf9406dd5788ffa176e (patch)
tree94ba40106157852a1d3fdf0812219748e3a548db /tools/aapt2/java/JavaClassGenerator_test.cpp
parent581cc1ee59d01fe4b4a31618ab4aedfa639e42b0 (diff)
Wait for wakeup_reasons on first init
Previously if we were initializing the wakeup callback for the first time, we would read the wakeup_reason file and ignore the contents, sending a wakeup_reason of "unknown" up to BatteryStats. Now we initialize the callback and wait on it immediately. Wakeup reasons are reset when we go into sleep, so when we wakeup, we will always have fresh wakeup reasons. Bug:21665793 Change-Id: I20832d8a143fc2715915fcecf4bb71980f279440
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions