summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2019-01-09 16:21:50 -0800
committerBrad Ebinger <breadley@google.com>2019-01-11 10:09:33 -0800
commit5eb125192497af6f1005eb583a1f5046bb5ba5e7 (patch)
tree8bc41c16095da1a251d6647bd84fa63e3f60dcdc /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentdcfef16295126c0197e5e1f6449280efdf787fea (diff)
Use better Exception handling in IMS APIs.
1) Use IllegalArgumentException and IllegalStateException to convey exception cases, instead of always throwing a RemoteException. 2) Remove the constraint that the subId must be valid to unregister a callback. Since we already manage the callbacks internally when the subscription is removed, it is now just a no-op. 3) Clarified what some of the callbacks do in comments. Bug: 122480210 Test: FrameworksTelephonyTests Change-Id: I6f308ce021f3202373e3d037c7123fe92d7e6063
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions