diff --git a/res/values/strings.xml b/res/values/strings.xml
index e62bf14bf24..9e1059039ba 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1240,6 +1240,28 @@
Fingerprint Unlock for private space
Face Unlock for private space
+
+ Face & Fingerprint Unlock for private space
+
+ Set up Fingerprint Unlock for private space
+
+ Use your fingerprint to unlock your private space or verify it\u2019s you, like when you sign in to apps or approve a purchase
+
+ Your private space can be unlocked when you don\u2019t intend to, like if someone holds up your phone to your finger.
+
+ Use your fingerprint to unlock your private space or to approve purchases
+
+ Set up Face Unlock for private space
+
+ Use your face to unlock your private space or verify it\u2019s you, like when you sign in to apps or approve a purchase
+
+ Looking at the phone can unlock private space even when you don\u2019t intend to. Your private space can also be unlocked by someone who looks a lot like you, like an identical sibling, or if someone holds the device up to your face.
+
+ Using your face to unlock your private space may be less secure than a strong pattern, PIN, or password
+
+ To unlock private space, your eyes must be open. For best results, take off sunglasses.
+
+ Use your face to unlock your private space.\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 phone can unlock it when you don\u2019t intend to.\n\nYour private space can be unlocked by someone else if your device is held up to your face.\n\nYour private space can be unlocked by someone who looks a lot like you, like an identical sibling.
Ways to unlock
diff --git a/res/xml/private_space_biometric_settings.xml b/res/xml/private_space_biometric_settings.xml
index 6135b5ff7dd..38ec09abcae 100644
--- a/res/xml/private_space_biometric_settings.xml
+++ b/res/xml/private_space_biometric_settings.xml
@@ -17,7 +17,7 @@
sResultLinks = new ArraySet<>();
private static boolean sIsBatteryPresent;
private static boolean sIsMultipleBiometricsSupported;
+ private static boolean sIsPrivateProfile;
@Implementation
protected static int enforceSameOwner(Context context, int userId) {
@@ -82,6 +83,7 @@ public class ShadowUtils {
sResultLinks = new ArraySet<>();
sIsBatteryPresent = true;
sIsMultipleBiometricsSupported = false;
+ sIsPrivateProfile = false;
}
public static void setIsDemoUser(boolean isDemoUser) {
@@ -188,4 +190,13 @@ public class ShadowUtils {
public static void setIsMultipleBiometricsSupported(boolean isMultipleBiometricsSupported) {
sIsMultipleBiometricsSupported = isMultipleBiometricsSupported;
}
+
+ @Implementation
+ protected static boolean isPrivateProfile(int userId, Context context) {
+ return sIsPrivateProfile;
+ }
+
+ public static void setIsPrivateProfile(boolean isPrivateProfile) {
+ sIsPrivateProfile = isPrivateProfile;
+ }
}