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

Skip to content
Unverified Commit cb1b10ca authored by Ethan Chen's avatar Ethan Chen Committed by Michael Bestas
Browse files

RIL: Squash patches for bringing back registerForOn

Revert "Use radio availability to sync card status instead of radio on"

 * Revert to AOSP behaviour for this. Introduce a few fixes later on
   which fix radio availability issues on both QC and legacy devices.

This reverts commit af1cd8cb.

Change-Id: Iae4063337d13eabc979acd172133d7744a270647

UiccController: use registerForAvailable only for persist.radio.apm_sim_not_pwdn

Some QCOM RILs allow the SIM to be loaded in airplane mode, thus
CAF changed the callback to registerForAvailable, but that does
not work on other RILs where the SIM information will not be
loaded successfully.

Change-Id: I9f9124417db2fe983e716a2825fc08d87511f8aa

Use registerForAvailable when device is encrypted only for RIL version >= 9

On older RIL versions, registerForAvailable causes the sim to not
being detected. We fixed this for non-encrypted state, but missed it
for encrypted state.

Change-Id: I26cca33c10edcbcb8ea10daaa6104eed910354bd
parent 628c7eeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment