Set suw description textview to fixed id
Heavy theme supports to costomize description text style. Modify it to fixed id that can be customized by partner resource. Heavy theme screenshot: https://screenshot.googleplex.com/TL4M7wmTaPg Set fixed id screenshot: https://screenshot.googleplex.com/CA6QHoNTQBZ Test: atest Bug: 121988926 Change-Id: I8882acd49e7d57f24afa9dd6f3e9abfd06556053
This commit is contained in:
@@ -207,7 +207,7 @@ public class MasterClearConfirm extends InstrumentedFragment {
|
||||
|
||||
private void setAccessibilityTitle() {
|
||||
CharSequence currentTitle = getActivity().getTitle();
|
||||
TextView confirmationMessage = mContentView.findViewById(R.id.master_clear_confirm);
|
||||
TextView confirmationMessage = mContentView.findViewById(R.id.sud_layout_description);
|
||||
if (confirmationMessage != null) {
|
||||
String accessibleText = new StringBuilder(currentTitle).append(",").append(
|
||||
confirmationMessage.getText()).toString();
|
||||
@@ -218,7 +218,7 @@ public class MasterClearConfirm extends InstrumentedFragment {
|
||||
@VisibleForTesting
|
||||
void setSubtitle() {
|
||||
if (mEraseEsims) {
|
||||
((TextView) mContentView.findViewById(R.id.master_clear_confirm))
|
||||
((TextView) mContentView.findViewById(R.id.sud_layout_description))
|
||||
.setText(R.string.master_clear_final_desc_esim);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user