-
Notifications
You must be signed in to change notification settings - Fork 0
Integrate with Assistant #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
986442d
0571272
2065d57
c61f06b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,11 @@ | ||||||||||||||||||
| <?xml version="1.0" encoding="utf-8"?> | ||||||||||||||||||
| <shortcuts xmlns:android="http://schemas.android.com/apk/res/android"> | ||||||||||||||||||
| <capability android:name="actions.intent.OPEN_APP_FEATURE"> | ||||||||||||||||||
| <shortcut-fulfillment> | ||||||||||||||||||
| <parameter android:name="feature.name" /> | ||||||||||||||||||
| </shortcut-fulfillment> | ||||||||||||||||||
| <intent | ||||||||||||||||||
| android:action="de.pawcode.cardstore.ACTION_VIEW_CARD" | ||||||||||||||||||
| android:targetClass="de.pawcode.cardstore.CardOverlayActivity" /> | ||||||||||||||||||
| </capability> | ||||||||||||||||||
|
Comment on lines
+3
to
+10
|
||||||||||||||||||
| <capability android:name="actions.intent.OPEN_APP_FEATURE"> | |
| <shortcut-fulfillment> | |
| <parameter android:name="feature.name" /> | |
| </shortcut-fulfillment> | |
| <intent | |
| android:action="de.pawcode.cardstore.ACTION_VIEW_CARD" | |
| android:targetClass="de.pawcode.cardstore.CardOverlayActivity" /> | |
| </capability> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
android.app.shortcutsmeta-data is declared inside theMainActivityelement. The platform reads theandroid.app.shortcutsresource from the<application>meta-data, so placing it on an<activity>can prevent the shortcuts/capabilities from being discovered. Move this<meta-data>to the<application>element (and remove it from the activity).