Skip to content
This repository was archived by the owner on Sep 13, 2019. It is now read-only.

Commit 63cfaa3

Browse files
committed
Using the correct action and category for the intent-filter
1 parent 4b30489 commit 63cfaa3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@
6666
android:authorities="com.example.android.sliceviewer"
6767
android:exported="true">
6868
<intent-filter>
69-
<action android:name="androidx.intent.SLICE_ACTION" />
69+
<action android:name="android.intent.action.VIEW" />
70+
71+
<category android:name="android.app.slice.category.SLICE" />
7072

71-
<category android:name="android.intent.category.DEFAULT" />
7273

7374
<data
7475
android:host="sliceviewer.android.example.com"

0 commit comments

Comments
 (0)