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

Commit ce3ddb80 authored by Divya Sharma's avatar Divya Sharma Committed by Gerrit - the friendly Code Review server
Browse files

Settings: Fix SIM/RUIM lock settings exception

Fix Phone app crash

Change-Id: I91c2ce48ae4b3929d75a11332739169c01ce2ea9
parent 563da404
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
        xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
        android:title="@string/sim_lock_settings">

    <SwitchPreference
    <CheckBoxPreference
            android:key="sim_toggle"
            android:title="@string/sim_pin_toggle"
            android:summaryOn="@string/sim_lock_on"
+0 −3
Original line number Diff line number Diff line
@@ -187,9 +187,6 @@ public class DisplaySettings extends SettingsPreferenceFragment implements
        } else {
            removePreference(KEY_AUTO_ROTATE);
        }
        if (getResources().getBoolean(R.bool.hide_cast_screen)){
            removePreference(KEY_CAST_SCREEN);
        }
    }

    private static boolean allowAllRotations(Context context) {