Log requested enrollment strength
Bug: 145601433 Test: adb shell am start -a android.settings.BIOMETRIC_ENROLL --ei "android.provider.extra.BIOMETRIC_MINIMUM_STRENGTH_REQUIRED" 1 Test: Log is seen Change-Id: Ied5fba6de257f72a809536402d7afc8061570abe
This commit is contained in:
@@ -21,6 +21,8 @@ import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
import android.provider.Settings;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.settings.SetupWizardUtils;
|
||||
import com.android.settings.biometrics.face.FaceEnrollIntroduction;
|
||||
@@ -50,6 +52,9 @@ public class BiometricEnrollActivity extends InstrumentedActivity {
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Log.d(TAG, "Min strength: " + getIntent()
|
||||
.getIntExtra(Settings.EXTRA_BIOMETRIC_MINIMUM_STRENGTH_REQUIRED, 0));
|
||||
|
||||
final PackageManager pm = getApplicationContext().getPackageManager();
|
||||
Intent intent = null;
|
||||
|
||||
|
Reference in New Issue
Block a user