commit | 7d4adea7b4c5c27c53de9592a14193ea296873a1 | [log] [tgz] |
---|---|---|
author | Masanori Ogino <ogino.masanori@sharp.co.jp> | Thu Oct 11 18:51:35 2012 +0900 |
committer | Masanori Ogino <ogino.masanori@sharp.co.jp> | Thu Oct 11 18:51:35 2012 +0900 |
tree | 9ddeaba571b27723115f7fc4c2fea623f75e5e23 | |
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