diff --git a/res-product/values/strings.xml b/res-product/values/strings.xml
index 32e545bd7c2..d5ef1c888f6 100644
--- a/res-product/values/strings.xml
+++ b/res-product/values/strings.xml
@@ -89,12 +89,6 @@
Use your face to unlock your tablet or for authentication in apps, like when you sign in to apps or approve a purchase
Use your face to unlock your device or for authentication in apps, like when you sign in to apps or approve a purchase
-
-
-
-
-
-
Allow your child to use their face to unlock their phone
@@ -113,18 +107,6 @@
Using your child\u2019s face to unlock their tablet may be less secure than a strong pattern or PIN.
Using your child\u2019s face to unlock their device may be less secure than a strong pattern or PIN.
-
-
-
-
-
-
-
-
-
-
-
-
@@ -179,12 +161,6 @@
-
-
-
-
-
-
@@ -217,8 +193,6 @@
Use your face to unlock your device or verify it\u2019s you, like when you sign in to apps or approve a purchase.\n\nKeep in mind:\nYou can only have one face set up at a time. To add another face, delete the current one.\n\nLooking at the device can unlock it when you don\u2019t intend to.\n\nYour device can be unlocked by someone else if it\u2019s held up to your face, even if your eyes are closed.\n\nYour device can be unlocked by someone who looks a lot like you, like an identical sibling.
Use your fingerprint to unlock your %s or verify it\u2019s you, like when you sign in to apps or approve a purchase
-
- Use your fingerprints to unlock your %s or verify it\u2019s you in apps
Allow your child to use their fingerprint to unlock their phone or verify it\u2019s them. This happens when they sign in to apps, approve a purchase, and more.
@@ -267,18 +241,6 @@
Your child\u2019s tablet can be unlocked when they don\u2019t intend to, like if someone holds it up to their finger.
Your child\u2019s device can be unlocked when they don\u2019t intend to, like if someone holds it up to their finger.
-
-
-
-
-
-
-
-
-
-
-
-
Use your fingerprint to unlock your tablet or verify it\u2019s you, like when you sign in to apps
diff --git a/res/drawable/ic_eyeglasses.xml b/res/drawable/ic_eyeglasses.xml
deleted file mode 100644
index c35d7b30529..00000000000
--- a/res/drawable/ic_eyeglasses.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
diff --git a/res/drawable/ic_familiar_face_and_zone.xml b/res/drawable/ic_familiar_face_and_zone.xml
deleted file mode 100644
index dbef199e896..00000000000
--- a/res/drawable/ic_familiar_face_and_zone.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/res/drawable/ic_privacy_tip.xml b/res/drawable/ic_privacy_tip.xml
deleted file mode 100644
index 8f34eb65f22..00000000000
--- a/res/drawable/ic_privacy_tip.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
diff --git a/res/drawable/ic_security_privacy_safe.xml b/res/drawable/ic_security_privacy_safe.xml
deleted file mode 100644
index 99aeaef2496..00000000000
--- a/res/drawable/ic_security_privacy_safe.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/res/layout/face_enroll_introduction_2.xml b/res/layout/face_enroll_introduction_2.xml
deleted file mode 100644
index cbc14bce15b..00000000000
--- a/res/layout/face_enroll_introduction_2.xml
+++ /dev/null
@@ -1,334 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 9f4672b4b75..18b20b9e6c1 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -771,8 +771,6 @@
-
-
Cancel
@@ -900,8 +898,6 @@
You and your child are in control
Keep in mind
-
- Secure and helpful
Use your fingerprint to unlock your phone or approve purchases.\n\nNote: You can\u2019t use your fingerprint to unlock this device. For more information, contact your organization\u2019s admin.
@@ -932,8 +928,6 @@
For best results, use a screen protector that\u2019s Made for Google certified. With other screen protectors, your child\u2019s fingerprint may not work.
-
-
diff --git a/src/com/android/settings/biometrics/BiometricEnrollIntroduction.java b/src/com/android/settings/biometrics/BiometricEnrollIntroduction.java
index 77f11ff6f0f..1f7b3e512b2 100644
--- a/src/com/android/settings/biometrics/BiometricEnrollIntroduction.java
+++ b/src/com/android/settings/biometrics/BiometricEnrollIntroduction.java
@@ -37,7 +37,6 @@ import com.android.internal.widget.LockPatternUtils;
import com.android.settings.R;
import com.android.settings.SetupWizardUtils;
import com.android.settings.Utils;
-import com.android.settings.flags.Flags;
import com.android.settings.password.ChooseLockGeneric;
import com.android.settings.password.ChooseLockSettingsHelper;
import com.android.settings.password.ConfirmDeviceCredentialActivity;
@@ -552,11 +551,8 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
@NonNull
protected PorterDuffColorFilter getIconColorFilter() {
if (mIconColorFilter == null) {
- final int colorType = Flags.biometricsOnboardingEducation()
- ? DynamicColorPalette.ColorType.PRIMARY_TEXT
- : DynamicColorPalette.ColorType.ACCENT;
mIconColorFilter = new PorterDuffColorFilter(
- DynamicColorPalette.getColor(this, colorType),
+ DynamicColorPalette.getColor(this, DynamicColorPalette.ColorType.ACCENT),
PorterDuff.Mode.SRC_IN);
}
return mIconColorFilter;
diff --git a/src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java b/src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java
index 78e3770810a..d3f75195305 100644
--- a/src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java
+++ b/src/com/android/settings/biometrics/face/FaceEnrollIntroduction.java
@@ -53,7 +53,6 @@ import com.android.settings.biometrics.BiometricEnrollActivity;
import com.android.settings.biometrics.BiometricEnrollIntroduction;
import com.android.settings.biometrics.BiometricUtils;
import com.android.settings.biometrics.MultiBiometricEnrollHelper;
-import com.android.settings.flags.Flags;
import com.android.settings.password.ChooseLockSettingsHelper;
import com.android.settings.password.SetupSkipDialog;
import com.android.settings.utils.SensorPrivacyManagerHelper;
@@ -145,19 +144,6 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
final ImageView iconLooking = findViewById(R.id.icon_looking);
iconGlasses.getBackground().setColorFilter(getIconColorFilter());
iconLooking.getBackground().setColorFilter(getIconColorFilter());
- if (Flags.biometricsOnboardingEducation()) {
- final ImageView iconSecurityPrivacySafe = findViewById(R.id.icon_security_privacy_safe);
- final ImageView iconPrivacyTip = findViewById(R.id.icon_privacy_tip);
- final ImageView iconFamiliarFaceAndZone =
- findViewById(R.id.icon_familiar_face_and_zone);
- final ImageView iconTrashCan = findViewById(R.id.icon_trash_can);
- final ImageView iconLink = findViewById(R.id.icon_link);
- iconSecurityPrivacySafe.getBackground().setColorFilter(getIconColorFilter());
- iconPrivacyTip.getBackground().setColorFilter(getIconColorFilter());
- iconFamiliarFaceAndZone.getBackground().setColorFilter(getIconColorFilter());
- iconTrashCan.getBackground().setColorFilter(getIconColorFilter());
- iconLink.getBackground().setColorFilter(getIconColorFilter());
- }
// Set text for views with multiple variations.
final TextView infoMessageGlasses = findViewById(R.id.info_message_glasses);
@@ -170,19 +156,9 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
infoMessageLooking.setText(getInfoMessageLooking());
inControlTitle.setText(getInControlTitle());
howMessage.setText(getHowMessage());
- if (Flags.biometricsOnboardingEducation()) {
- inControlMessage.setText(
- R.string.security_settings_face_enroll_introduction_control_message_2);
- final TextView learnMore = findViewById(R.id.message_learn_more);
- learnMore.setText(Html.fromHtml(getString(
- R.string.security_settings_face_enroll_introduction_learn_more_message),
- Html.FROM_HTML_MODE_LEGACY));
- learnMore.setMovementMethod(LinkMovementMethod.getInstance());
- } else {
- inControlMessage.setText(Html.fromHtml(getString(getInControlMessage()),
- Html.FROM_HTML_MODE_LEGACY));
- inControlMessage.setMovementMethod(LinkMovementMethod.getInstance());
- }
+ inControlMessage.setText(Html.fromHtml(getString(getInControlMessage()),
+ Html.FROM_HTML_MODE_LEGACY));
+ inControlMessage.setMovementMethod(LinkMovementMethod.getInstance());
lessSecure.setText(getLessSecureMessage());
final ScrollView scrollView =
@@ -435,11 +411,7 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
@Override
protected int getLayoutResource() {
- if (Flags.biometricsOnboardingEducation()) {
- return R.layout.face_enroll_introduction_2;
- } else {
- return R.layout.face_enroll_introduction;
- }
+ return R.layout.face_enroll_introduction;
}
@Override
@@ -622,13 +594,8 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
setDescriptionText(getString(
R.string.private_space_face_enroll_introduction_message));
} else if (mIsFaceStrong) {
- final int messageRes;
- if (Flags.biometricsOnboardingEducation()) {
- messageRes = R.string.security_settings_face_enroll_introduction_message_class3_2;
- } else {
- messageRes = R.string.security_settings_face_enroll_introduction_message_class3;
- }
- setDescriptionText(getString(messageRes));
+ setDescriptionText(getString(
+ R.string.security_settings_face_enroll_introduction_message_class3));
}
super.updateDescriptionText();
}
diff --git a/tests/robotests/src/com/android/settings/biometrics/face/FaceEnrollIntroductionTest.java b/tests/robotests/src/com/android/settings/biometrics/face/FaceEnrollIntroductionTest.java
index 3bfe8197b1f..81a72694592 100644
--- a/tests/robotests/src/com/android/settings/biometrics/face/FaceEnrollIntroductionTest.java
+++ b/tests/robotests/src/com/android/settings/biometrics/face/FaceEnrollIntroductionTest.java
@@ -64,7 +64,6 @@ import com.android.settings.R;
import com.android.settings.Settings;
import com.android.settings.biometrics.BiometricEnrollBase;
import com.android.settings.biometrics.BiometricUtils;
-import com.android.settings.flags.Flags;
import com.android.settings.password.ChooseLockSettingsHelper;
import com.android.settings.testutils.FakeFeatureFactory;
import com.android.settings.testutils.shadow.SettingsShadowResources;
@@ -403,9 +402,7 @@ public class FaceEnrollIntroductionTest {
assertThat(getGlifLayout(mActivity).getDescriptionText().toString()).isEqualTo(
mContext.getString(
- Flags.biometricsOnboardingEducation()
- ? R.string.security_settings_face_enroll_introduction_message_class3_2
- : R.string.security_settings_face_enroll_introduction_message_class3));
+ R.string.security_settings_face_enroll_introduction_message_class3));
assertThat(mActivity.findViewById(R.id.info_row_less_secure).getVisibility()).isEqualTo(
View.GONE);
}