CarrierConfigLoader: IPC call with invalid subId will silently fail
When invalid subId/phoneId is provided to IPC call methods below,
the methods direct return, with a line of log. This will make the
failure silently ignored to the client side:
- overrideConfig
- notifyConfigChangedForSubId
- updateConfigForPhoneId
To fix them, IAE or ISE are thrown to notify the client the failure.
Bug: 184001819
Test: atest com.android.phone.CarrierConfigLoaderTest
Test: atest CtsVcnTestCases: android.net.vcn.cts.VcnManagerTest -- --abi
x86_64
Change-Id: I64202ace126e1b6537fed96ab1ccaf487d29ac1f
2 files changed