isSimPortAvailable API should return true if the calling app can activate a new profile on the selected port without any user consent or deactivate dialog.
Currently isSimPortAvailable API returns true if the port is active without any profile enabled on it or the calling app has carrier privileges over the selected port. It is hampering switching to MEP mode when the psim is active and empty.
Test: Manually verified isSimPortAvailable API behavior on C10 with EuiccPartnerApp.
Bug: 240273417
Change-Id: I4c9ad2bc6f1093163290be0e47f8a065245e5783
1 file changed