diff options
author | Masanori Ogino <ogino.masanori@sharp.co.jp> | 2012-10-11 18:51:35 +0900 |
---|---|---|
committer | Masanori Ogino <ogino.masanori@sharp.co.jp> | 2012-10-11 18:51:35 +0900 |
commit | 7d4adea7b4c5c27c53de9592a14193ea296873a1 (patch) | |
tree | 9ddeaba571b27723115f7fc4c2fea623f75e5e23 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cee1124052202c7f2a1956a54e5aa538d82197a7 (diff) |
avoid crashing system serer process
Context#unregisterReceiver will throw IllegalArgumentException
if the receiver has already unregistered.
In GlobalAction class, when SilentModeAction is changed, it will
close the dialog with some delay. So there is a possibility
that it would unregistere again for the same receiver if a user
changes slient mode againand again. System must not crash in such
a case.
Change-Id: I33662feb48a770d39a8413901ec77ac1acd16bc7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions