[Settings]Check the Satellite modem state instead of enabled state only.
Flag: EXEMPT bugfix Fix: 354806125 Test: Manual test pass Change-Id: Iaa8d1c9d3df36e40fafda0117234036d9451a4fa
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user