Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f31808e6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix crash due to display name is not set to View." into main

parents 5c16cc91 58f40ebc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -165,6 +165,7 @@ public class RenameMobileNetworkDialogFragment extends InstrumentedDialogFragmen
        }
        final CharSequence displayName = SubscriptionUtil.getUniqueSubscriptionDisplayName(
                info, getContext());
        mNameView.setText(displayName);
        if (!TextUtils.isEmpty(displayName)) {
            mNameView.setSelection(Math.min(displayName.length(),
                    getResources().getInteger(R.integer.sim_label_max_length)));