OSDN Git Service

Added new string.
authorjoshmccloskey <joshmccloskey@google.com>
Fri, 27 Sep 2019 22:09:05 +0000 (15:09 -0700)
committerJoshua Mccloskey <joshmccloskey@google.com>
Fri, 27 Sep 2019 23:15:32 +0000 (23:15 +0000)
Fixes: 141762646
Test: Verified that string translates to spanish after changing
the language.

Change-Id: I48e34de15460c93c8f50d26821c4d64984f20c6d

res/values/strings.xml
src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java

index f1b592a..2524782 100644 (file)
     <string name="security_settings_face_enroll_introduction_no_thanks">No thanks</string>
     <!-- Button text to start enrollment [CHAR LIMIT=30] -->
     <string name="security_settings_face_enroll_introduction_agree">Agree</string>
+    <!-- Button text to scroll to the end of a scrollview. [CHAR LIMIT=30] -->
+    <string name="security_settings_face_enroll_introduction_more">More</string>
     <!-- Introduction title shown in face enrollment to introduce the face unlock feature [CHAR LIMIT=40] -->
     <string name="security_settings_face_enroll_introduction_title">Unlock with your face</string>
     <!-- Introduction title shown in face enrollment to introduce the face unlock feature, when face unlock is disabled by device admin [CHAR LIMIT=60] -->
index f4433f0..5f164d6 100644 (file)
@@ -81,7 +81,7 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
             final RequireScrollMixin requireScrollMixin = getLayout().getMixin(
                     RequireScrollMixin.class);
             requireScrollMixin.requireScrollWithButton(this, agreeButton,
-                    R.string.wifi_more,
+                    R.string.security_settings_face_enroll_introduction_more,
                     button -> {
                         onNextButtonClick(button);
                     });