Merge "Fixes stack overflow on some settings preferences" into nyc-dev am: 02ef5603b3
am: 3e2a6c705a
* commit '3e2a6c705a36676ee898b5350aa1cc48a65a987e':
Fixes stack overflow on some settings preferences
This commit is contained in:
@@ -626,7 +626,7 @@ public abstract class SettingsPreferenceFragment extends InstrumentedPreferenceF
|
||||
public void finish() {
|
||||
Activity activity = getActivity();
|
||||
if (activity != null && !activity.getFragmentManager().popBackStackImmediate()) {
|
||||
finish();
|
||||
activity.finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user