aboutsummaryrefslogtreecommitdiff
path: root/SlicesApp/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'SlicesApp/AndroidManifest.xml')
-rw-r--r--SlicesApp/AndroidManifest.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/SlicesApp/AndroidManifest.xml b/SlicesApp/AndroidManifest.xml
index 40f714d..87def87 100644
--- a/SlicesApp/AndroidManifest.xml
+++ b/SlicesApp/AndroidManifest.xml
@@ -36,6 +36,7 @@
android:host="com.android.experimental.slicesapp"
android:pathPrefix="/main" />
</intent-filter>
+
<meta-data android:name="android.metadata.SLICE_URI"
android:value="content://com.android.experimental.slicesapp/main" />
</activity>
@@ -44,11 +45,18 @@
android:authorities="com.android.experimental.slicesapp"
android:exported="true">
<intent-filter>
- <action android:name="android.intent.action.VIEW_SLICE" />
- <action android:name="android.intent.action.EXAMPLE_ACTION" />
+ <action android:name="android.intent.action.EXAMPLE_SLICE_INTENT" />
</intent-filter>
</provider>
+ <receiver
+ android:name=".SlicesBroadcastReceiver"
+ android:exported="true" >
+ <intent-filter>
+ <action android:name="android.intent.action.EXAMPLE_SLICE_ACTION"/>
+ </intent-filter>
+ </receiver>
+
</application>
</manifest>