Merge "Refactor ChooseLockGenericController" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b3b59d6edd
@@ -19,7 +19,6 @@ import static android.app.Activity.RESULT_OK;
|
||||
|
||||
import static com.android.settings.password.ChooseLockPattern.RESULT_FINISHED;
|
||||
|
||||
import android.app.admin.DevicePolicyManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.hardware.face.FaceManager;
|
||||
@@ -193,9 +192,8 @@ public abstract class BiometricsSettingsBase extends DashboardFragment {
|
||||
|
||||
if (!launched) {
|
||||
Intent intent = BiometricUtils.getChooseLockIntent(getActivity(), getIntent());
|
||||
intent.putExtra(ChooseLockGeneric.ChooseLockGenericFragment.MINIMUM_QUALITY_KEY,
|
||||
DevicePolicyManager.PASSWORD_QUALITY_SOMETHING);
|
||||
intent.putExtra(ChooseLockGeneric.ChooseLockGenericFragment.HIDE_DISABLED_PREFS, true);
|
||||
intent.putExtra(ChooseLockGeneric.ChooseLockGenericFragment.HIDE_INSECURE_OPTIONS,
|
||||
true);
|
||||
intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, true);
|
||||
intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user