Changed header to specify backup lock
-Changed main header to show backup lock text -Reworded normal header -Changed instances of FacePass to FaceLock Change-Id: I66cbd3ada87df30b6b7ceb1a784d365ba60a8f41
This commit is contained in:
@@ -213,6 +213,7 @@ public class ChooseLockGeneric extends PreferenceActivity {
|
||||
.getBooleanExtra(LockPatternUtils.LOCKSCREEN_BIOMETRIC_WEAK_FALLBACK, false);
|
||||
final boolean weakBiometricAvailable = isBiometricSensorAvailable(
|
||||
DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK);
|
||||
// TODO: This code can be removed once the second header is gone
|
||||
if (onlyShowFallback) {
|
||||
picker.setTitle(R.string.backup_lock_settings_picker_title);
|
||||
} else {
|
||||
@@ -271,6 +272,8 @@ public class ChooseLockGeneric extends PreferenceActivity {
|
||||
Intent fallBackIntent = new Intent().setClass(getActivity(), ChooseLockGeneric.class);
|
||||
fallBackIntent.putExtra(LockPatternUtils.LOCKSCREEN_BIOMETRIC_WEAK_FALLBACK, true);
|
||||
fallBackIntent.putExtra(CONFIRM_CREDENTIALS, false);
|
||||
fallBackIntent.putExtra(EXTRA_SHOW_FRAGMENT_TITLE,
|
||||
R.string.backup_lock_settings_picker_title);
|
||||
fallBackIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
|
||||
Intent intent = new Intent().setClassName("com.android.facelock",
|
||||
|
Reference in New Issue
Block a user