Merge "Migrate SuW new flag isMNStyle into Accessibility" into tm-dev

This commit is contained in:
Menghan Li
2022-03-21 08:06:33 +00:00
committed by Android (Google) Code Review

View File

@@ -47,7 +47,7 @@ class AccessibilitySetupWizardUtils {
layout.setIcon(icon);
layout.setDividerInsets(Integer.MAX_VALUE, 0);
if (ThemeHelper.shouldApplyExtendedPartnerConfig(context)) {
if (ThemeHelper.shouldApplyMaterialYouStyle(context)) {
final LinearLayout headerLayout = layout.findManagedViewById(R.id.sud_layout_header);
if (headerLayout != null) {
headerLayout.setPadding(0, layout.getPaddingTop(), 0,