Migrate SuW new flag isMNStyle into Accessibility
Bug: 223265372 Test: Manual testing Change-Id: I0b7f4fb02a35c5e0638ddac7b6b49c622c52fbc1
This commit is contained in:
@@ -47,7 +47,7 @@ class AccessibilitySetupWizardUtils {
|
|||||||
layout.setIcon(icon);
|
layout.setIcon(icon);
|
||||||
layout.setDividerInsets(Integer.MAX_VALUE, 0);
|
layout.setDividerInsets(Integer.MAX_VALUE, 0);
|
||||||
|
|
||||||
if (ThemeHelper.shouldApplyExtendedPartnerConfig(context)) {
|
if (ThemeHelper.shouldApplyMaterialYouStyle(context)) {
|
||||||
final LinearLayout headerLayout = layout.findManagedViewById(R.id.sud_layout_header);
|
final LinearLayout headerLayout = layout.findManagedViewById(R.id.sud_layout_header);
|
||||||
if (headerLayout != null) {
|
if (headerLayout != null) {
|
||||||
headerLayout.setPadding(0, layout.getPaddingTop(), 0,
|
headerLayout.setPadding(0, layout.getPaddingTop(), 0,
|
||||||
|
Reference in New Issue
Block a user