mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-02-16 10:31:07 +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:gwpAsanMode="always"
|
||||
android:localeConfig="@xml/locales_config"
|
||||
android:enableOnBackInvokedCallback="true"
|
||||
android:theme="@style/AppTheme">
|
||||
|
||||
<provider
|
||||
|
||||
@@ -108,6 +108,7 @@ public class HelpActivity extends Activity {
|
||||
}
|
||||
|
||||
@Override
|
||||
// NOTE: This will NOT be called on Android 13+ with android:enableOnBackInvokedCallback="true"
|
||||
public void onBackPressed() {
|
||||
// Back goes back through the WebView history
|
||||
// until no more history remains
|
||||
|
||||
Reference in New Issue
Block a user