[Bug]: NoSuchMethodException: android.telephony.TelephonyManager.getSimSlotMapping #15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi
First thing first and as always thanks for your wonderful work
The method
android.telephony.TelephonyManager.getSimSlotMapping
Was introduced in android 13
(https://raw.githubusercontent.com/LineageOS/android_frameworks_base/lineage-20.0/telephony/java/android/telephony/TelephonyManager.java)
(https://raw.githubusercontent.com/LineageOS/android_frameworks_base/lineage-18.1/telephony/java/android/telephony/TelephonyManager.java)
Slot mapping feature result in app crash on lower android version like android 11...
You can consider using getLogicalToPhysicalSlotMapping() or telephony.getSlotsMapping() for a wider system support or may be disable the feature for android < 13
Thanks
Good point, I was trying to be careful about lower platforms but I probably missed this one. Will just disable the slot mapping madness for pre-13.
Bug: NoSuchMethodException: android.telephony.TelephonyManager.getSimSlotMappingto [Bug]: NoSuchMethodException: android.telephony.TelephonyManager.getSimSlotMapping