Settings: Forward port lock pattern grid size (2/2)
Co-authored-by: Alberto97 <albertop2197@gmail.com> Co-authored-by: d34d <clark@cyngn.com> Co-authored-by: Dhina17 <dhinalogu@gmail.com> Co-authored-by: LuK1337 <priv.luk@gmail.com> Co-authored-by: Roman Birg <roman@cyngn.com> Change-Id: I7078d703c218cd096d9b77c003a94b52fbce6322
This commit is contained in:
committed by
Michael Bestas
parent
7625635bb8
commit
34a8deb417
@@ -475,6 +475,9 @@ public final class ChooseLockSettingsHelper {
|
||||
intent.setClassName(SETTINGS_PACKAGE_NAME, activityClass.getName());
|
||||
intent.putExtra(SettingsBaseActivity.EXTRA_PAGE_TRANSITION_TYPE,
|
||||
SettingsTransitionHelper.TransitionType.TRANSITION_SLIDE);
|
||||
if (userId == LockPatternUtils.USER_FRP) {
|
||||
intent.putExtra("className", ConfirmLockPattern.class.getName());
|
||||
}
|
||||
|
||||
Intent inIntent = mFragment != null ? mFragment.getActivity().getIntent() :
|
||||
mActivity.getIntent();
|
||||
@@ -555,7 +558,9 @@ public final class ChooseLockSettingsHelper {
|
||||
? ConfirmLockPassword.InternalActivity.class
|
||||
: ConfirmLockPassword.class);
|
||||
case KeyguardManager.PATTERN:
|
||||
return Optional.of(returnCredentials || forceVerifyPath
|
||||
return Optional.of(userId == LockPatternUtils.USER_FRP
|
||||
? ChooseLockPatternSize.class
|
||||
: returnCredentials || forceVerifyPath
|
||||
? ConfirmLockPattern.InternalActivity.class
|
||||
: ConfirmLockPattern.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user