Fix up shortcuts.xml
This commit is contained in:
parent
439ec6d977
commit
8de6230282
3 changed files with 9 additions and 9 deletions
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<share-target android:targetClass="eu.siacs.conversations.ui.ShareWithActivity">
|
||||
<data android:mimeType="*/*" />
|
||||
<category android:name="com.cheogram.android.SHARE_TARGET" />
|
||||
</share-target>
|
||||
</shortcuts>
|
|
@ -100,7 +100,7 @@ public class ShortcutService {
|
|||
.setIntent(getShortcutIntent(contact))
|
||||
.setIcon(IconCompat.createWithBitmap(xmppConnectionService.getAvatarService().getRoundedShortcut(contact)))
|
||||
.setIsConversation()
|
||||
.setCategories(Set.of("com.cheogram.android.SHARE_TARGET"))
|
||||
.setCategories(Set.of("de.monocles.chat.SHARE_TARGET"))
|
||||
.build();
|
||||
}
|
||||
|
||||
|
@ -110,7 +110,7 @@ public class ShortcutService {
|
|||
.setIntent(getShortcutIntent(mucOptions))
|
||||
.setIcon(IconCompat.createWithBitmap(xmppConnectionService.getAvatarService().getRoundedShortcut(mucOptions)))
|
||||
.setIsConversation()
|
||||
.setCategories(Set.of("com.cheogram.android.SHARE_TARGET"))
|
||||
.setCategories(Set.of("de.monocles.chat.SHARE_TARGET"))
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
7
src/main/res/xml/shortcuts.xml
Normal file
7
src/main/res/xml/shortcuts.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<share-target android:targetClass="eu.siacs.conversations.ui.ShareWithActivity">
|
||||
<data android:mimeType="*/*" />
|
||||
<category android:name="de.monocles.chat.SHARE_TARGET" />
|
||||
</share-target>
|
||||
</shortcuts>
|
Loading…
Reference in a new issue