Merge "Fixes stack overflow on some settings preferences" into nyc-dev
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