Whitelist fragments appropriate for an activity
Change-Id: If4f8c4e9d9949b652946cffe0ebb09b587e5a042
This commit is contained in:
@@ -76,6 +76,12 @@ public class ConfirmLockPattern extends PreferenceActivity {
|
||||
return modIntent;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isValidFragment(String fragmentName) {
|
||||
if (ConfirmLockPatternFragment.class.getName().equals(fragmentName)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public static class ConfirmLockPatternFragment extends Fragment {
|
||||
|
||||
// how long we wait to clear a wrong pattern
|
||||
|
Reference in New Issue
Block a user