Merge "Migrate SuW new flag isMNStyle into Accessibility" into tm-dev am: 97a5a69070

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17247847

Change-Id: I3ef7efdd97906c2f1448809224b91a3b1b15a3cb
This commit is contained in:
Menghan Li
2022-03-21 08:28:25 +00:00
committed by Automerger Merge Worker

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,