diff options
author | Brad Ebinger <breadley@google.com> | 2020-05-21 16:35:23 -0700 |
---|---|---|
committer | Brad Ebinger <breadley@google.com> | 2020-06-19 17:20:22 +0000 |
commit | e170706352f1ccc87c8050b92ea19cdd099f6306 (patch) | |
tree | c4b9fbcd245925c0f5f21e0700b23409b44905c6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 7efd5a48e0ff5564e4848a7acad9421bb4690026 (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
Fixes: 159135792
Test: atest FrameworksTelephonyTests; CtsTelephonyTestCases; manual
Change-Id: I3250419a2438afb58922ae653e3f2e4f9628e593
Merged-In: I3250419a2438afb58922ae653e3f2e4f9628e593
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions