Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bcf024c2 authored by Hakjun Choi's avatar Hakjun Choi
Browse files

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
parent 4fcbdd9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment