diff --git a/res/values/wave_strings.xml b/res/values/wave_strings.xml index 59ab1b92a93..77137ba26e0 100644 --- a/res/values/wave_strings.xml +++ b/res/values/wave_strings.xml @@ -190,4 +190,7 @@ Pocket detection Block screen and button inputs when device is in pocket + + Fingerprint authentication vibration + Vibrate on successful fingerprint authentication diff --git a/res/xml/security_lockscreen_settings.xml b/res/xml/security_lockscreen_settings.xml index af75cc5bc31..d99ed1861fc 100644 --- a/res/xml/security_lockscreen_settings.xml +++ b/res/xml/security_lockscreen_settings.xml @@ -57,6 +57,12 @@ android:summary="@string/lockscreen_battery_info_summary" android:defaultValue="true" /> + + createPreferenceControllers(Context controllers.add(notificationController); mOwnerInfoPreferenceController = new OwnerInfoPreferenceController(context, this); controllers.add(mOwnerInfoPreferenceController); + controllers.add(new FPVibrationPreferenceController(context)); return controllers; } @@ -137,6 +138,7 @@ public List createPreferenceControllers( controllers.add(new LockScreenNotificationPreferenceController(context)); controllers.add(new OwnerInfoPreferenceController( context, null /* fragment */)); + controllers.add(new FPVibrationPreferenceController(context)); return controllers; }