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
Loading
Please register or sign in to comment