diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2015-12-09 22:14:28 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2015-12-10 12:58:27 +0000 |
commit | bda01cc5e37c7199d16825f3ac0b534e87a27aa0 (patch) | |
tree | ba20bc4f15bd064268cd7519a0b42bf2bc956c5f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ae3ecaa27654264ef2168dee218725fbf0f69d40 (diff) |
Fix canceling renew alarms.
1. Entering DhcpBoundState cancels the renew alarm, but at that
point the renew alarm is guaranteed not to have been scheduled.
This is harmless, but results in an "unknown listener" message
in the AlarmManager logs.
2. We don't cancel the renew alarm when exiting DhcpBoundState.
This is also harmless, because that alarm does nothing except
in DhcpBoundState, and we cancel it whenever we enter
DhcpBoundState. But canceling it on exit is more correct.
Change-Id: I60dfcf00f243253b81b8906540e0a6218a7a489c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions