Adjust profile category padding in factory reset page.

This page usd SetupWizard them, so we should not set paddingStart

Bug: 223514471
Test: visual verify
Change-Id: I3a02be7534c6571c8d6735c5592ad4230a7c9e9e
This commit is contained in:
Edgar Wang
2022-05-02 13:39:28 +08:00
parent 27aa5f9d94
commit 0e92c7e777

View File

@@ -494,6 +494,8 @@ public class MainClear extends InstrumentedFragment implements OnGlobalLayoutLis
if (profilesSize > 1) {
View titleView = Utils.inflateCategoryHeader(inflater, contents);
titleView.setPadding(0 /* left */, titleView.getPaddingTop(),
0 /* right */, titleView.getPaddingBottom());
final TextView titleText = (TextView) titleView.findViewById(android.R.id.title);
DevicePolicyManager devicePolicyManager =