Merge "Show generic ChooseLockPattern title for suw." into main

This commit is contained in:
Hao Dong
2024-01-19 19:08:50 +00:00
committed by Android (Google) Code Review
3 changed files with 19 additions and 2 deletions

View File

@@ -220,6 +220,14 @@ public class SetupChooseLockPatternTest {
application.getString(R.string.lockpassword_choose_your_pattern_description));
}
@Test
public void createActivity_patternTitle_shouldShowGenericText() {
final CharSequence headerView = mActivity.getTitle();
assertThat(headerView).isEqualTo(
application.getString(R.string.lockpassword_choose_your_pattern_header));
}
@Test
public void inIntroductionStage_theHeaderHeight_shouldSetMinLinesTwoToPreventFlicker() {
final PartnerCustomizationLayout layout = mActivity.findViewById(R.id.setup_wizard_layout);