Browse Source

Fix Import Data shortcut in debug builds

pull/7655/head
staphen 1 year ago committed by Anders Jenbo
parent
commit
e622ddfdf1
  1. 2
      android-project/app/build.gradle
  2. 13
      android-project/app/src/debug/res/xml/shortcuts.xml

2
android-project/app/build.gradle

@ -26,7 +26,7 @@ android {
}
buildTypes {
debug {
applicationIdSuffix "dev"
applicationIdSuffix ".dev"
}
release {
minifyEnabled false

13
android-project/app/src/debug/res/xml/shortcuts.xml

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="import"
android:enabled="true"
android:icon="@mipmap/ic_launcher_import_data"
android:shortcutShortLabel="@string/import_short_label">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="org.diasurgical.devilutionx.dev"
android:targetClass="org.diasurgical.devilutionx.ImportActivity" />
</shortcut>
</shortcuts>
Loading…
Cancel
Save