Move debug_shortcuts meta to main AndroidManifest
This commit is contained in:
parent
2edc96bc84
commit
95e06762da
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="de.mm20.launcher2.ui">
|
||||
|
||||
<application>
|
||||
<activity android:name=".legacy.activity.LauncherActivity">
|
||||
<meta-data
|
||||
android:name="android.app.shortcuts"
|
||||
android:resource="@xml/debug_shortcuts" />
|
||||
|
||||
</activity>
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@ -1,13 +0,0 @@
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shortcut
|
||||
android:shortcutId="composeactivity"
|
||||
android:enabled="true"
|
||||
android:icon="@drawable/ic_experimental_feature"
|
||||
android:shortcutShortLabel="@string/shortcut_compose_activity"
|
||||
android:shortcutLongLabel="@string/shortcut_compose_activity">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="de.mm20.launcher2.debug"
|
||||
android:targetClass="de.mm20.launcher2.ui.activity.ComposeActivity" />
|
||||
</shortcut>
|
||||
</shortcuts>
|
||||
@ -24,6 +24,11 @@
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.shortcuts"
|
||||
android:resource="@xml/debug_shortcuts" />
|
||||
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".activity.ComposeActivity"
|
||||
|
||||
2
ui/src/main/res/xml-v25/debug_shortcuts.xml
Normal file
2
ui/src/main/res/xml-v25/debug_shortcuts.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
</shortcuts>
|
||||
Loading…
x
Reference in New Issue
Block a user