summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-12-02 17:51:28 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-12-08 23:50:23 +0900
commit9d3aadb24778cc36a350a04b088d2ed7ee3790e1 (patch)
treeff0aa6d6f41275f2fa77632aa0067151c9e793a2 /tools/aapt2/java/JavaClassGenerator.cpp
parentd6d5f8f0455b2a51098745218eecf1cb4afd3920 (diff)
Add a new WakeupMessage class and use it in two places.
This is useful when using the new AlarmManager direct callback interface to wake up the system and request that an object whose API consists of messages (such as a StateMachine) perform some action. In this situation, using AlarmManager.onAlarmListener by itself will wake up the system to send the message, but does not guarantee that the system will be awake until the target object has processed it. This is because as soon as the onAlarmListener sends the message and returns, the system is free to go to sleep again. Bug: 20157436 Bug: 25823676 Change-Id: Idff20029d287f26347441a2523b7fb20eda6a8b0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions