Deny SIM-profile association for non-existent SIM
Previously, for a SIM Id that we have no records of, we return true for
its accessibility check for any profiles. After this change, we throw
IAE/convert the IAE to false to better define the API behavior.
Bug: 294125411
Test: Manually sending/receiving SMS/MMS,
atest com.android.providers.telephony.SmsProviderTest,
atest com.android.providers.telephony.MmsProviderTest,
atest com.android.providers.telephony.ProviderUtilTest,
atest CtsTelephonyProviderTestCases,
atest CtsTelephonyTestCases
Change-Id: If5a66e186273ab0e5439df1e76107431bbb8d8e1
4 files changed