Remove subtext from work challenge screens

Bug: 201045654
Test: manual
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.password
Change-Id: Ibd65e27d5ed2762d04aa7750908506d0353a0727
This commit is contained in:
Rubin Xu
2021-12-09 13:27:03 +00:00
parent db1feef7e0
commit 70172863a7
4 changed files with 24 additions and 60 deletions

View File

@@ -142,14 +142,8 @@ public class SetupChooseLockPattern extends ChooseLockPattern {
mLeftButtonIsSkip = false;
}
// Show generic pattern message when pattern lock screen launch in Setup wizard flow
// before fingerprint and face setup.
final GlifLayout layout = getActivity().findViewById(R.id.setup_wizard_layout);
if (stage.message == ID_EMPTY_MESSAGE) {
layout.setDescriptionText("");
} else {
layout.setDescriptionText(stage.message);
}
layout.setDescriptionText("");
}
@Override