Fix[settings]: Broken intent towards control activity

This commit is contained in:
Mathias-Boulay 2023-03-02 10:05:39 +01:00
parent bf9dc168d5
commit d4f2e5b752
2 changed files with 3 additions and 1 deletions

View File

@ -77,6 +77,7 @@ android {
shrinkResources false shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.customDebug signingConfig signingConfigs.customDebug
resValue 'string', 'application_package', 'net.kdt.pojavlaunch.debug'
resValue 'string', 'storageProviderAuthorities', 'net.kdt.pojavlaunch.scoped.gamefolder.debug' resValue 'string', 'storageProviderAuthorities', 'net.kdt.pojavlaunch.scoped.gamefolder.debug'
resValue 'string', 'shareProviderAuthority', 'net.kdt.pojavlaunch.scoped.controlfolder.debug' resValue 'string', 'shareProviderAuthority', 'net.kdt.pojavlaunch.scoped.controlfolder.debug'
} }
@ -94,6 +95,7 @@ android {
// multiDexEnabled = true // multiDexEnabled = true
// debuggable = true // debuggable = true
resValue 'string', 'storageProviderAuthorities', 'net.kdt.pojavlaunch.scoped.gamefolder' resValue 'string', 'storageProviderAuthorities', 'net.kdt.pojavlaunch.scoped.gamefolder'
resValue 'string', 'application_package', 'net.kdt.pojavlaunch'
} }
gplay { gplay {
initWith release initWith release

View File

@ -10,7 +10,7 @@
android:summary="@string/preference_edit_controls_summary" android:summary="@string/preference_edit_controls_summary"
app2:icon="@drawable/ic_menu_custom_controls" app2:icon="@drawable/ic_menu_custom_controls"
> >
<intent android:targetPackage="net.kdt.pojavlaunch" android:targetClass="net.kdt.pojavlaunch.CustomControlsActivity" android:action=".CustomControlsActivity"/> <intent android:targetPackage="@string/application_package" android:targetClass="net.kdt.pojavlaunch.CustomControlsActivity" android:action=".CustomControlsActivity"/>
</Preference> </Preference>
<PreferenceCategory <PreferenceCategory