Fix up shortcuts.xml

This commit is contained in:
Arne 2024-12-10 20:58:26 +01:00
parent 439ec6d977
commit 8de6230282
3 changed files with 9 additions and 9 deletions

View file

@ -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>

View file

@ -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();
}

View 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>