Merge "Change API requestIsEnabled to requestIsSessionStarted" into main

This commit is contained in:
Tom Hsu
2024-07-30 06:51:17 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 3 deletions

View File

@@ -431,7 +431,7 @@ public class WifiSlice implements CustomSliceable {
boolean isSatelliteOn = false;
try {
isSatelliteOn =
satelliteRepository.requestIsEnabled(Executors.newSingleThreadExecutor())
satelliteRepository.requestIsSessionStarted(Executors.newSingleThreadExecutor())
.get(2000, TimeUnit.MILLISECONDS);
} catch (ExecutionException | TimeoutException | InterruptedException e) {
Log.e(TAG, "Error to get satellite status : " + e);