Potential fix for Settings instability on x-large.

Bug: 9752185
Change-Id: I1b2af6661a601e1d487a35a53f5d01e58529a34d
This commit is contained in:
Amith Yamasani
2013-07-15 15:35:29 -07:00
parent 5c2075037d
commit 6cb5630c17

View File

@@ -109,7 +109,7 @@ public class RestrictionSettings extends AppRestrictionsFragment {
if (resultCode == Activity.RESULT_OK) { if (resultCode == Activity.RESULT_OK) {
getListView().setEnabled(true); getListView().setEnabled(true);
mChallengeSucceeded = true; mChallengeSucceeded = true;
} else { } else if (!isDetached()) {
finishFragment(); finishFragment();
} }
return; return;