summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Hakjun Choi <hakjunc@google.com> 2024-01-12 20:44:26 +0000
committer Hakjun Choi <hakjunc@google.com> 2024-01-24 02:22:11 +0000
commit19b3c8ecf7571ad348c98a4bee21101696718cb1 (patch)
treeb9b5c64f0f2050e5e816594276abd12edf76bc96 /libs/androidfw/FileStream.cpp
parent5278993100ddf0aa72e14c7d6fa9a01a50c41fd8 (diff)
Refactor Satellite APIs
1. APIs which have OutcomeReceiver as result accepter will report SATELLITE_RESULT_ILLEGALSTATE as a value of SatelliteExcetion through OutcomeReceiver instead of throwing IlldgalStateException. APIs which is non blocking API and has the result receiver as a form of Consumer<Integer> will have same procedure - report SATELLTIE_RESULT_ILLEGALSTATE instead of throwing IllgalStatException 2. APIs which throw runtime exception will throw rethrowAsRuntimeException instead of rethrowFromSystemServer for runtime exception as there has never been dead object exception in practical. 3. Removed SatelliteException from registerForNtnSignalStreangthChanged API, since there are no async error that can be reported after registration. Bug: 306111250 Test: atest SatelliteManagerTest, SatelliteManagerTestOnMockService Test: manual test with test application to invoke APIs on pixel Change-Id: I301482e33f8684926fb670923026cbeaf105c560
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions