Merge "Adjust profile category padding in factory reset page." into tm-dev

This commit is contained in:
Edgar Wang
2022-05-04 07:39:53 +00:00
committed by Android (Google) Code Review

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 =