Change API requestIsEnabled to requestIsSessionStarted
- Avoid using APM/WIFI/BT in settings app from any transitioning from TN to NTN. Flag: EXEMPT bugfix fix: 354806125 Test: Manual test Change-Id: Id65567971b3d1ea3e177a0cc1e1304446d8fa0e8
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