Face and fingerprint unlock strings for private space
Recordings: b/326399895#comment10 Bug: 326399895 Test: Manual Change-Id: I9f4449439639c93a10475333a91059f855bce07b
This commit is contained in:
@@ -510,8 +510,9 @@ public class FingerprintSettings extends SubSettings {
|
||||
mFooterColumns.add(column2);
|
||||
} else {
|
||||
final FooterColumn column = new FooterColumn();
|
||||
column.mTitle = getString(
|
||||
R.string.security_settings_fingerprint_enroll_introduction_v3_message,
|
||||
column.mTitle = getString(isPrivateProfile()
|
||||
? R.string.private_space_fingerprint_enroll_introduction_message
|
||||
: R.string.security_settings_fingerprint_enroll_introduction_v3_message,
|
||||
DeviceHelper.getDeviceName(getActivity()));
|
||||
column.mLearnMoreClickListener = learnMoreClickListener;
|
||||
column.mLearnMoreOverrideText = getText(
|
||||
@@ -1130,6 +1131,10 @@ public class FingerprintSettings extends SubSettings {
|
||||
}
|
||||
};
|
||||
|
||||
private boolean isPrivateProfile() {
|
||||
return Utils.isPrivateProfile(mUserId, getContext());
|
||||
}
|
||||
|
||||
public static class DeleteFingerprintDialog extends InstrumentedDialogFragment
|
||||
implements DialogInterface.OnClickListener {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user