Peter Cai a461ef9208 Handle "ghost" SIM slots gracefully
On devices like the Japanese versions of Sony Xperia 5 II, the telephony
HAL can end up reporting a "ghost" SIM slot that does not actually exist
and (thus) has no IMEI assigned to it. In this case, our code would
crash since we assumed every SIM slot reported to the telephony
framework should be valid. The fix is simple -- abort when we realize
that the SIM slot has no IMEI.
2022-08-13 18:04:36 -04:00
src Handle "ghost" SIM slots gracefully 2022-08-13 18:04:36 -04:00
build.gradle Move hidden API shims via reflection to a standalone package 2022-08-01 21:34:07 -04:00