break on config change prevented
This commit is contained in:
parent
2dbb57dd4e
commit
071ff5863f
2 changed files with 7 additions and 0 deletions
|
@ -92,6 +92,7 @@
|
|||
android:name=".RoutingParameterDialog"
|
||||
android:exported="true"
|
||||
android:launchMode="singleTask"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden"
|
||||
/>
|
||||
|
||||
<service
|
||||
|
|
|
@ -4,6 +4,7 @@ import android.app.Activity;
|
|||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.window.OnBackInvokedCallback;
|
||||
|
@ -202,6 +203,11 @@ public class RoutingParameterDialog extends AppCompatActivity {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
}
|
||||
|
||||
|
||||
public static class MyPreferenceFragment extends PreferenceFragmentCompat {
|
||||
|
||||
|
|
Loading…
Reference in a new issue