Merge "Potential fix for Settings instability on x-large."
This commit is contained in:
committed by
Android (Google) Code Review
commit
12d2d812a3
@@ -109,7 +109,7 @@ public class RestrictionSettings extends AppRestrictionsFragment {
|
||||
if (resultCode == Activity.RESULT_OK) {
|
||||
getListView().setEnabled(true);
|
||||
mChallengeSucceeded = true;
|
||||
} else {
|
||||
} else if (!isDetached()) {
|
||||
finishFragment();
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user