Remove subtext on the password work challenge screen
Test: manually tested Bug: 286391641 Change-Id: Ib6d6ff89da1e943aea2a3b668eeb9429009805a2
This commit is contained in:
@@ -316,12 +316,9 @@ public class ConfirmLockPattern extends ConfirmDeviceCredentialBaseActivity {
|
||||
R.string.lockpassword_remote_validation_pattern_details);
|
||||
}
|
||||
final boolean isStrongAuthRequired = isStrongAuthRequired();
|
||||
if (!mIsManagedProfile) {
|
||||
return isStrongAuthRequired
|
||||
? getString(R.string.lockpassword_strong_auth_required_device_pattern)
|
||||
: getString(R.string.lockpassword_confirm_your_pattern_generic);
|
||||
}
|
||||
return null;
|
||||
return isStrongAuthRequired
|
||||
? getString(R.string.lockpassword_strong_auth_required_device_pattern)
|
||||
: getString(R.string.lockpassword_confirm_your_pattern_generic);
|
||||
}
|
||||
|
||||
private Object[][] getActiveViews() {
|
||||
@@ -371,7 +368,10 @@ public class ConfirmLockPattern extends ConfirmDeviceCredentialBaseActivity {
|
||||
|
||||
CharSequence detailsText =
|
||||
mDetailsText == null ? getDefaultDetails() : mDetailsText;
|
||||
if (detailsText != null) {
|
||||
|
||||
if (mIsManagedProfile) {
|
||||
mGlifLayout.getDescriptionTextView().setVisibility(View.GONE);
|
||||
} else {
|
||||
mGlifLayout.setDescriptionText(detailsText);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user