parent
6e5cfb2737
commit
7ebc662c6f
15
app/ui/src/debug/res/xml/shortcuts.xml
Normal file
15
app/ui/src/debug/res/xml/shortcuts.xml
Normal 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>
|
||||
@ -24,6 +24,10 @@
|
||||
<category android:name="android.intent.category.HOME" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
|
||||
<meta-data android:name="android.app.shortcuts"
|
||||
android:resource="@xml/shortcuts" />
|
||||
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
</shortcuts>
|
||||
3
app/ui/src/main/res/xml/shortcuts.xml
Normal file
3
app/ui/src/main/res/xml/shortcuts.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts>
|
||||
</shortcuts>
|
||||
15
app/ui/src/nightly/res/xml/shortcuts.xml
Normal file
15
app/ui/src/nightly/res/xml/shortcuts.xml
Normal 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.nightly" />
|
||||
</shortcut>
|
||||
|
||||
</shortcuts>
|
||||
15
app/ui/src/release/res/xml/shortcuts.xml
Normal file
15
app/ui/src/release/res/xml/shortcuts.xml
Normal 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.release" />
|
||||
</shortcut>
|
||||
|
||||
</shortcuts>
|
||||
Loading…
x
Reference in New Issue
Block a user