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

Commit aae108c0 authored by Arne Coucheron's avatar Arne Coucheron
Browse files

Fix SIM detection when encrypted for older RIL

Got broken in 7.1.0_r4 merge

Change-Id: I126bd6bd4d94c51d28d4f0698f62715ed6f373db
parent 13267d37
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -129,8 +129,8 @@ public class UiccController extends Handler {
            // available.
            // Else wait for radio to be on. This is needed for the scenario when SIM is locked --
            // to avoid overlap of CryptKeeper and SIM unlock screen.
            if ((DECRYPT_STATE.equals(SystemProperties.get("vold.decrypt")) ||
                    StorageManager.isFileEncryptedNativeOrEmulated() &&
            if (((DECRYPT_STATE.equals(SystemProperties.get("vold.decrypt")) ||
                    StorageManager.isFileEncryptedNativeOrEmulated()) &&
                    mCis[i].getRilVersion() >= 9) || radioApmSimNotPwdn) {
                mCis[i].registerForAvailable(this, EVENT_ICC_STATUS_CHANGED, index);
            } else {