summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Hakjun Choi <hakjunc@google.com> 2023-12-05 11:46:02 +0000
committer Hakjun Choi <hakjunc@google.com> 2023-12-12 04:28:58 +0000
commitbcf024c2ba946f7955db460ebc89bfe4ac3783b9 (patch)
treea092bb41b42ce064f019dae016eee85c77d83fb8 /libs/input/SpriteController.cpp
parent4fcbdd9db71fbdd658fae92335344364daf86771 (diff)
Improve error handling for register/unregister ntn signal strength related APIs
1. Remove return error code for registerForNtnSignalStreangth 2. Throw all security/invalid parameter as an exception for the register API 3. Remove callback from callback map when register operation fails. 4. If an unregisterForNtnSignalStrength is requested for unregistered or invalid callback, throws IllegalArgumentException error instead of silent failing. Bug: 306111250 Test: atest SatelliteControllerTest, SatelliteManagerTest, SatelliteManagerTestOnMockServiceTest Change-Id: I8e094295870a98c7df1aa93142d4eb831ebff98d
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions