commit | f771678278988cacba21838b45793421cac8add3 | [log] [tgz] |
---|---|---|
author | Chinmay Dhodapkar <chinmayd@google.com> | Thu Jul 14 08:00:40 2022 -0700 |
committer | Chinmay Dhodapkar <chinmayd@google.com> | Fri Jul 15 10:58:07 2022 -0700 |
tree | fdab19643c852fdf2db5bfc0ffe29fcab0fb4861 | |
parent | e4a5a9cedc4769044b018dc44fff760740f9b08b [diff] |
Fix Phone selection logic when ESIMs are involved ESIMs always report SIM_STATE_READY even when user has not downloaded or activated any eSIM. hasIccCard also returns true. The existing logic assumed that SIM_STATE_ABSENT would be reported if SIM is absent. This is not true for ESIMs Bug: 235636341 Test: atest TelephonyConnectionServiceTest Change-Id: I904fc72fa4d900645fdf162b4e00d187f7a5225d