Merge "Fix activity weirdness by doing the right thing" into nyc-dev
This commit is contained in:
@@ -625,8 +625,8 @@ public abstract class SettingsPreferenceFragment extends InstrumentedPreferenceF
|
||||
|
||||
public void finish() {
|
||||
Activity activity = getActivity();
|
||||
if (activity != null) {
|
||||
activity.onBackPressed();
|
||||
if (activity != null && !activity.getFragmentManager().popBackStackImmediate()) {
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user