mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-16 21:40:23 +00:00
Opt in for new predictive back gesture support in Android 13
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
android:installLocation="auto"
|
android:installLocation="auto"
|
||||||
android:gwpAsanMode="always"
|
android:gwpAsanMode="always"
|
||||||
android:localeConfig="@xml/locales_config"
|
android:localeConfig="@xml/locales_config"
|
||||||
|
android:enableOnBackInvokedCallback="true"
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme">
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ public class HelpActivity extends Activity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
// NOTE: This will NOT be called on Android 13+ with android:enableOnBackInvokedCallback="true"
|
||||||
public void onBackPressed() {
|
public void onBackPressed() {
|
||||||
// Back goes back through the WebView history
|
// Back goes back through the WebView history
|
||||||
// until no more history remains
|
// until no more history remains
|
||||||
|
|||||||
Reference in New Issue
Block a user