OSDN Git Service

Kill the alarm when a call comes in.
authorPatrick Scott <phanna@android.com>
Thu, 3 Sep 2009 18:18:13 +0000 (14:18 -0400)
committerPatrick Scott <phanna@android.com>
Thu, 3 Sep 2009 18:18:13 +0000 (14:18 -0400)
commit1f66bd549803234e705231147c7aa4f35717697a
treed01dd87036b318433618a3d0311ccae26f47f078
parent12c57557a503fed9c0d57ea9ee050ecaba763115
Kill the alarm when a call comes in.

If the alarm fires while in a call, remember the call state since registering
for call state changes triggers onCallStateChanged and we don't want to kill the
alarm in that case.
AndroidManifest.xml
src/com/android/alarmclock/AlarmKlaxon.java