diff options
author | Tom Taylor <tomtaylor@google.com> | 2009-11-12 14:41:02 -0800 |
---|---|---|
committer | Tom Taylor <tomtaylor@google.com> | 2009-11-12 14:41:02 -0800 |
commit | cd88c0f1da9bc67a67dd7174428ab3195a2dc11f (patch) | |
tree | 6c980c3bfcafde935d068f3c2c3296c4f21bccd7 /AndroidManifest.xml | |
parent | e676b8223ffc6a77acd8b36125f200fa30424efe (diff) | |
download | Mms-cd88c0f1da9bc67a67dd7174428ab3195a2dc11f.tar.gz |
Only register for service changes when needed
The SmsReceiverService registered for SERVICE_STATE changes and this
was causing the Messaging app to be needlessly started up on every
SERVICE_STATE change. With this fix, we only register for that event
when we fail to send a SMS message because of no radio sig, etc.
Once we successfully send the queued message, we'll unregister the
event filter.
Change-Id: I12cbe0cb9a72bbf628bf9a4929680519e85057a2
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index f9b433ce..102e92ba 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -199,9 +199,6 @@ <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> <intent-filter> - <action android:name="android.intent.action.SERVICE_STATE" /> - </intent-filter> - <intent-filter> <action android:name="com.android.mms.transaction.MESSAGE_SENT" /> <!-- TODO Do a better data match here. --> <data android:scheme="content" /> |