Fix direct share shortcut category declaration

Change-Id: Ic87b34249a0b45215bd3872aac512ef9c8ea63c3
This commit is contained in:
SpiritCroc 2022-06-14 18:11:35 +02:00
parent 3058ee8f9e
commit 837972a7be
3 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ case "$package_add" in
esac
sed -i "s|\"SchildiChat|\"$name_replace|g" "$build_gradle"
sed -i "s|de.spiritcroc.riotx|de.spiritcroc.riotx.$package_add|g" "$build_gradle" `find "$src_dir" -name google-services.json`
sed -i "s|de.spiritcroc.riotx|de.spiritcroc.riotx.$package_add|g" "$build_gradle" `find "$src_dir" -name google-services.json` `find "$src_dir" -name shortcuts.xml`
sed -i "s|SchildiChat|$name_replace|g" `find "$fastlane_dir/metadata/android" -name "title.txt"`

View File

@ -2,6 +2,6 @@
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<share-target android:targetClass="im.vector.app.features.share.IncomingShareActivity">
<data android:mimeType="*/*" />
<category android:name="im.vector.app.debug.SHORTCUT_SHARE" />
<category android:name="de.spiritcroc.riotx.debug.SHORTCUT_SHARE" />
</share-target>
</shortcuts>

View File

@ -2,6 +2,6 @@
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<share-target android:targetClass="im.vector.app.features.share.IncomingShareActivity">
<data android:mimeType="*/*" />
<category android:name="im.vector.app.SHORTCUT_SHARE" />
<category android:name="de.spiritcroc.riotx.SHORTCUT_SHARE" />
</share-target>
</shortcuts>