Add assistant activity shortcut

Close #322
This commit is contained in:
MM20
2023-05-13 19:09:44 +02:00
parent 6e5cfb2737
commit 7ebc662c6f
6 changed files with 52 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:enabled="true"
android:icon="@mipmap/ic_launcher"
android:shortcutId="compose"
android:shortcutLongLabel="@string/search_bar_placeholder"
android:shortcutShortLabel="@string/search_bar_placeholder">
<intent
android:action="android.intent.action.ASSIST"
android:targetClass="de.mm20.launcher2.ui.assistant.AssistantActivity"
android:targetPackage="de.mm20.launcher2.debug" />
</shortcut>
</shortcuts>