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

Commit ccae10e6 authored by qingxi's avatar qingxi
Browse files

Fix problems of SIM lock screen of eSIM

This CL fixes following issues:
1. The text on the button currently is black (should be white).
2. Clicking on it turns the screen off but doesn't disable the enabled
profile.

Bug: 64227431
Test: E2E
Change-Id: I87eaeb348c32af610a375912ae0aa5c7aa25dba7
parent c71be69f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@
    <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />

    <!-- Keyguard -->
    <uses-permission android:name="com.android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />
    <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
+1 −2
Original line number Diff line number Diff line
@@ -25,8 +25,7 @@
    android:id="@+id/keyguard_disable_esim"
    android:visibility="gone"
    android:text="@string/disable_carrier_button_text"
    style="?android:attr/buttonBarButtonStyle"
    style="@style/Keyguard.TextView"
    android:textAppearance="?android:attr/textAppearanceMedium"
    android:textSize="@dimen/kg_status_line_font_size"
    android:textColor="?android:attr/textColorSecondary"
    android:textAllCaps="@bool/kg_use_all_caps" />
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ class KeyguardEsimArea extends Button implements View.OnClickListener {
    public KeyguardEsimArea(Context context, AttributeSet attrs, int defStyleAttr,
            int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
        mEuiccManager = (EuiccManager) context.getSystemService(Context.EUICC_SERVICE);
        setOnClickListener(this);
    }