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

Commit 3c0bccee authored by Chaohui Wang's avatar Chaohui Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix IMEI is not selectable" into main

parents ddf79703 c744aaab
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
    android:orientation="vertical">

    <TextView
        style="@style/device_info_dialog_value"
        style="@style/DeviceAudioSharingText"
        android:id="@+id/share_audio_subtitle1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
@@ -31,7 +31,7 @@
        android:layout_gravity="center"/>

    <TextView
        style="@style/device_info_dialog_value"
        style="@style/DeviceAudioSharingText"
        android:id="@+id/share_audio_subtitle2"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
+1 −2
Original line number Diff line number Diff line
@@ -27,8 +27,7 @@
        style="@style/device_info_dialog_value"
        android:id="@+id/esim_id_value"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textIsSelectable="true" />
        android:layout_height="wrap_content" />

    <ImageView
        android:id="@+id/esim_id_qrcode"
+9 −0
Original line number Diff line number Diff line
@@ -433,6 +433,15 @@
        <item name="android:textSize">14sp</item>
        <item name="android:textColor">?android:attr/textColorPrimary</item>
        <item name="android:paddingBottom">24dp</item>
        <item name="android:textIsSelectable">true</item>
    </style>

    <style name="DeviceAudioSharingText">
        <item name="android:textAlignment">viewStart</item>
        <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item>
        <item name="android:textSize">14sp</item>
        <item name="android:textColor">?android:attr/textColorPrimary</item>
        <item name="android:paddingBottom">24dp</item>
    </style>

    <style name="ContextualCardStyle">
+0 −4
Original line number Diff line number Diff line
@@ -111,10 +111,7 @@ public class SimStatusDialogFragment extends InstrumentedDialogFragment {
            Log.d(TAG, "Fragment not attached yet.");
            return;
        }
        setText(viewId, text, true);
    }

    public void setText(int viewId, CharSequence text, boolean enableCopy) {
        final TextView textView = mRootView.findViewById(viewId);
        if (textView == null) {
            return;
@@ -125,6 +122,5 @@ public class SimStatusDialogFragment extends InstrumentedDialogFragment {
            text = PhoneNumberUtil.expandByTts(text);
        }
        textView.setText(text);
        textView.setTextIsSelectable(enableCopy);
    }
}