Fix crashing when clicking the "Edit controls" button in preferences

This commit is contained in:
artdeell 2023-02-28 08:07:34 +03:00
parent a945d2bc01
commit 8f8a9dff02
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@
<activity <activity
android:name=".CustomControlsActivity" android:name=".CustomControlsActivity"
android:configChanges="keyboardHidden|orientation|screenSize|keyboard|navigation" android:configChanges="keyboardHidden|orientation|screenSize|keyboard|navigation"
android:exported="true" android:exported="false"
android:screenOrientation="sensorLandscape"> android:screenOrientation="sensorLandscape">
<intent-filter> <intent-filter>
<action android:name=".CustomControlsActivity" /> <action android:name=".CustomControlsActivity" />

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"/> <intent android:targetPackage="net.kdt.pojavlaunch" android:targetClass="net.kdt.pojavlaunch.CustomControlsActivity" android:action=".CustomControlsActivity"/>
</Preference> </Preference>
<PreferenceCategory <PreferenceCategory