OSDN Git Service

Post a runnable during configuration changes to avoid an ANR.
authorPatrick Scott <phanna@android.com>
Fri, 9 Oct 2009 16:14:51 +0000 (12:14 -0400)
committerPatrick Scott <phanna@android.com>
Fri, 9 Oct 2009 16:14:51 +0000 (12:14 -0400)
commitbcfaaa6b567b95df64499c2a2e3c15780438a2dc
tree56e3dc45d6769b8462d8c384d81e20c7d62fc71b
parentba2f609058d9526625c35cc80ad20c3b84722754
Post a runnable during configuration changes to avoid an ANR.

Doing a relayout of the screen causes a lot of things to happen. One of which is
the analog clock registers a broadcast receiver.

Do a little cleanup as well.
src/com/android/alarmclock/AlarmClock.java