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
Change-Id: Ie235438a3391e0d112e4aa421cbc13cb6ffd9871
2 files changed