Loading res/layout/fingerprint_enroll_introduction.xml +2 −0 Original line number Diff line number Diff line Loading @@ -199,6 +199,8 @@ android:layout_width="16dp" android:layout_height="wrap_content"/> <TextView android:id="@+id/footer_learn_more" android:linksClickable="true" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/BiometricEnrollIntroMessage" Loading src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java +5 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ import android.hardware.biometrics.BiometricAuthenticator; import android.hardware.face.FaceManager; import android.hardware.face.FaceSensorPropertiesInternal; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.util.Log; import android.view.View; import android.widget.ImageView; Loading Loading @@ -120,7 +122,9 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction { infoMessageLooking.setText(getInfoMessageLooking()); inControlTitle.setText(getInControlTitle()); howMessage.setText(getHowMessage()); inControlMessage.setText(getInControlMessage()); inControlMessage.setText(Html.fromHtml(getString(getInControlMessage()), Html.FROM_HTML_MODE_LEGACY)); inControlMessage.setMovementMethod(LinkMovementMethod.getInstance()); lessSecure.setText(getLessSecureMessage()); // Set up and show the "less secure" info section if necessary. Loading src/com/android/settings/biometrics/fingerprint/FingerprintEnrollIntroduction.java +12 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ import android.hardware.biometrics.BiometricAuthenticator; import android.hardware.fingerprint.FingerprintManager; import android.hardware.fingerprint.FingerprintSensorPropertiesInternal; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.util.Log; import android.view.View; import android.widget.ImageView; Loading Loading @@ -104,6 +106,11 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction { footerMessage5.setText(getFooterMessage5()); footerMessage6.setText(getFooterMessage6()); final TextView footerLink = findViewById(R.id.footer_learn_more); footerLink.setMovementMethod(LinkMovementMethod.getInstance()); footerLink.setText(Html.fromHtml(getString(getFooterLearnMore()), Html.FROM_HTML_MODE_LEGACY)); if (mCanAssumeUdfps) { footerMessage6.setVisibility(View.VISIBLE); iconShield.setVisibility(View.VISIBLE); Loading Loading @@ -187,6 +194,11 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction { return R.string.security_settings_fingerprint_v2_enroll_introduction_footer_message_6; } @StringRes protected int getFooterLearnMore() { return R.string.security_settings_fingerprint_v2_enroll_introduction_message_learn_more; } @Override protected boolean isDisabledByAdmin() { return RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( Loading Loading
res/layout/fingerprint_enroll_introduction.xml +2 −0 Original line number Diff line number Diff line Loading @@ -199,6 +199,8 @@ android:layout_width="16dp" android:layout_height="wrap_content"/> <TextView android:id="@+id/footer_learn_more" android:linksClickable="true" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/BiometricEnrollIntroMessage" Loading
src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java +5 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ import android.hardware.biometrics.BiometricAuthenticator; import android.hardware.face.FaceManager; import android.hardware.face.FaceSensorPropertiesInternal; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.util.Log; import android.view.View; import android.widget.ImageView; Loading Loading @@ -120,7 +122,9 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction { infoMessageLooking.setText(getInfoMessageLooking()); inControlTitle.setText(getInControlTitle()); howMessage.setText(getHowMessage()); inControlMessage.setText(getInControlMessage()); inControlMessage.setText(Html.fromHtml(getString(getInControlMessage()), Html.FROM_HTML_MODE_LEGACY)); inControlMessage.setMovementMethod(LinkMovementMethod.getInstance()); lessSecure.setText(getLessSecureMessage()); // Set up and show the "less secure" info section if necessary. Loading
src/com/android/settings/biometrics/fingerprint/FingerprintEnrollIntroduction.java +12 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ import android.hardware.biometrics.BiometricAuthenticator; import android.hardware.fingerprint.FingerprintManager; import android.hardware.fingerprint.FingerprintSensorPropertiesInternal; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.util.Log; import android.view.View; import android.widget.ImageView; Loading Loading @@ -104,6 +106,11 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction { footerMessage5.setText(getFooterMessage5()); footerMessage6.setText(getFooterMessage6()); final TextView footerLink = findViewById(R.id.footer_learn_more); footerLink.setMovementMethod(LinkMovementMethod.getInstance()); footerLink.setText(Html.fromHtml(getString(getFooterLearnMore()), Html.FROM_HTML_MODE_LEGACY)); if (mCanAssumeUdfps) { footerMessage6.setVisibility(View.VISIBLE); iconShield.setVisibility(View.VISIBLE); Loading Loading @@ -187,6 +194,11 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction { return R.string.security_settings_fingerprint_v2_enroll_introduction_footer_message_6; } @StringRes protected int getFooterLearnMore() { return R.string.security_settings_fingerprint_v2_enroll_introduction_message_learn_more; } @Override protected boolean isDisabledByAdmin() { return RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( Loading