Skip to content

Commit

Permalink
Fix Import Data shortcut in debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills authored and AJenbo committed Jan 14, 2025
1 parent 8f232cf commit e622ddf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion android-project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
}
buildTypes {
debug {
applicationIdSuffix "dev"
applicationIdSuffix ".dev"
}
release {
minifyEnabled false
Expand Down
13 changes: 13 additions & 0 deletions android-project/app/src/debug/res/xml/shortcuts.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit e622ddf

Please sign in to comment.