Merge pull request #2616 from sigmabeta/android-whoops-overlay

Android: Fix a bug making Input Overlay config screen only work in debug builds.
This commit is contained in:
Ryan Houdek 2015-06-16 14:49:41 -05:00
commit 7662b30d0b
4 changed files with 10 additions and 1 deletions

View File

@ -11,6 +11,7 @@ android {
}
defaultConfig {
// TODO If this is ever modified, change application_id in strings.xml
applicationId "org.dolphinemu.dolphinemu"
minSdkVersion 21
targetSdkVersion 21
@ -43,6 +44,7 @@ android {
// Signed by debug key disallowing distribution on Play Store.
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
debug {
// TODO If this is ever modified, change application_id in debug/strings.xml
applicationIdSuffix ".debug"
versionNameSuffix '-debug'
jniDebuggable true

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="application_id">org.dolphinemu.dolphinemu.debug</string>
</resources>

View File

@ -240,4 +240,7 @@
<string name="emulation_title">Emulation Activity</string>
<string name="emulation_toggle_input">Toggle Input Overlay</string>
<!-- Package Names-->
<string name="application_id">org.dolphinemu.dolphinemu</string>
</resources>

View File

@ -43,7 +43,7 @@
<intent
android:targetClass="org.dolphinemu.dolphinemu.activities.OverlayConfigActivity"
android:targetPackage="org.dolphinemu.dolphinemu.debug"/>
android:targetPackage="@string/application_id"/>
</Preference>