Show generic ChooseLockPattern title for suw.

Test: atest SetupChooseLockPatternTest
Bug: 301260673
Change-Id: I7df499015a1f4c0559f425ad47042dd2a459d1df
This commit is contained in:
Hao Dong
2024-01-18 23:23:40 +00:00
parent a3e5036311
commit 62fddbf478
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);