Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bda3c064 authored by Diya Bera's avatar Diya Bera
Browse files

No scrolling required to see find sensor animation

Changed the string security_settings_sfps_enroll_find_sensor_message.
Changed the layout of the animation.

Test: Manually check the position of the animation
Fixes: 265023019
Change-Id: Iae3100009e4430fbff7abc4bc3c1d4b9ffca6638
parent 4516d397
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@
        android:gravity="center_vertical"
        android:orientation="vertical"
        android:clipToPadding="false"
        android:clipChildren="false">
        android:clipChildren="false"
        android:layout_marginTop="@dimen/sfps_enroll_find_sensor_lottie_margin">

        <!-- Animation res MUST be set in code because asset is dependent on device orientation -->
        <com.airbnb.lottie.LottieAnimationView
+3 −0
Original line number Diff line number Diff line
@@ -407,4 +407,7 @@
    <dimen name="limited_vision_button_margin_top">0dp</dimen>
    <dimen name="limited_vision_button_margin_bottom">0dp</dimen>
    <dimen name="limited_vision_button_toggle_margin_top">0dp</dimen>

    <!-- Default margin for side fps enroll find sensor lottie -->
    <dimen name="sfps_enroll_find_sensor_lottie_margin">0dp</dimen>
</resources>
+6 −0
Original line number Diff line number Diff line
@@ -808,6 +808,12 @@
    <string name="security_settings_udfps_enroll_find_sensor_title">How to set up your fingerprint</string>
    <!-- Message shown in fingerprint enrollment dialog to locate the sensor -->
    <string name="security_settings_fingerprint_enroll_find_sensor_message">It\u2019s on the back of your phone. Use your index finger.</string>
    <!-- Message shown in SFPS enrollment dialog to locate the sensor (tablet) [CHAR LIMIT=NONE]-->
    <string name="security_settings_sfps_enroll_find_sensor_message" product="tablet">The fingerprint sensor is on the power button. It’s the flat button next to the raised volume button on the edge of the tablet.</string>
    <!-- Message shown in SFPS enrollment dialog to locate the sensor (device) [CHAR LIMIT=NONE]-->
    <string name="security_settings_sfps_enroll_find_sensor_message" product="device">The fingerprint sensor is on the power button. It’s the flat button next to the raised volume button on the edge of the device.</string>
    <!-- Message shown in SFPS enrollment dialog to locate the sensor (default) [CHAR LIMIT=NONE]-->
    <string name="security_settings_sfps_enroll_find_sensor_message" product="default">The fingerprint sensor is on the power button. It’s the flat button next to the raised volume button on the edge of the phone.</string>
    <!-- Message shown in UDFPS enrollment dialog to locate the sensor [CHAR LIMIT=NONE]-->
    <string name="security_settings_udfps_enroll_find_sensor_message">The fingerprint sensor is on your screen. You\u2019ll capture your fingerprint on the next screen.</string>
    <!-- Button for starting fingerprint enrollment. [CHAR LIMIT=10]-->