cmparts: Change how parts are launched
* Currently we're requiring a specific action with the part name
stored in the extras. This is a bit unwieldy and we can just
encode the part name into the action since we only ever use
explicit intents. It also will help us integrate search in the
next commit without having to modify the contract in the framework.
Change-Id: I2c8fab2c9b745b86e509500b09bd000f92474c52
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index cdaee89..0edd219 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -49,20 +49,11 @@
<activity android:name="PartsActivity">
<intent-filter>
- <action android:name="org.cyanogenmod.cmparts.PART" />
+ <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <service android:name="org.cyanogenmod.cmparts.PartsCatalog"
- android:permission="cyanogenmod.permission.BIND_CORE_SERVICE"
- android:enabled="true"
- android:exported="true">
- <intent-filter>
- <action android:name="org.cyanogenmod.cmparts.CATALOG" />
- </intent-filter>
- </service>
-
<receiver android:name="BootReceiver" android:enabled="true">
<intent-filter android:priority="2147483647">
<action android:name="android.intent.action.BOOT_COMPLETED" />