Merge "Fix first item not a11y focusable in SimListDialog" into tm-dev

This commit is contained in:
Chaohui Wang
2022-05-04 06:37:25 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 10 deletions

View File

@@ -216,16 +216,6 @@ public class SimListDialogFragment extends SimDialogFragment {
final TextView title = convertView.findViewById(R.id.title);
final TextView summary = convertView.findViewById(R.id.summary);
ViewGroup.MarginLayoutParams lp =
(ViewGroup.MarginLayoutParams) parent.getLayoutParams();
if (lp != null) {
lp.setMargins(0, mContext.getResources().getDimensionPixelSize(
R.dimen.sims_select_margin_top), 0,
mContext.getResources().getDimensionPixelSize(
R.dimen.sims_select_margin_bottom));
convertView.setLayoutParams(lp);
}
if (sub == null) {
if (position == 0) {
title.setText(R.string.sim_calls_ask_first_prefs_title);