commit | ffb93e5dd69403a52cc733f102a54ef566855c2d | [log] [tgz] |
---|---|---|
author | Brad Ebinger <breadley@google.com> | Thu May 21 16:35:23 2020 -0700 |
committer | Brad Ebinger <breadley@google.com> | Thu May 21 16:41:01 2020 -0700 |
tree | 6f8c3f981f84aa9b61af3dc7d553614059988f57 | |
parent | a9c6632f543fa0b171bc436a2a530375ee165c9d [diff] |
Remove IllegalArgumentException for registration of capabilities We threw an IllegalArgumentException for an invalid subscription, however this is counter to what this exception should be used for. Instead, use ImsException#CODE_ERROR_INVALID_SUBSCRIPTION. Also fixed incorrect ImsException sent when telephony crashed. Bug: 156402275 Test: atest FrameworksTelephonyTests; CtsTelephonyTestCases; manual Change-Id: I3250419a2438afb58922ae653e3f2e4f9628e593