Fix incorrect SetupChooseLockPattern layout
Root cause: - The new added description TextView is too large - sud_layout_description was add in sud_layout_content instead of sud_layout_header. Solution: - Set string lockpassword_choose_your_pattern_description to GlifLayout as it's description.(Header description) Bug: 233666752 Fixes 239892091 Test: manual in setup flow, check choose lock pattern layouts showing expectedly on both phone & tablet Test: make RunSettingsRoboTests Change-Id: Iabe503066434f8983dffb88d1c93f2bbf773b860
This commit is contained in:
@@ -143,7 +143,8 @@ public class SetupChooseLockPattern extends ChooseLockPattern {
|
||||
}
|
||||
|
||||
final GlifLayout layout = getActivity().findViewById(R.id.setup_wizard_layout);
|
||||
layout.setDescriptionText("");
|
||||
layout.setDescriptionText(
|
||||
getString(R.string.lockpassword_choose_your_pattern_description));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user