Merge "Make wifi calling slice consistent" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
b3b27451a3
@@ -131,12 +131,7 @@ public class WifiCallingSliceHelper {
|
||||
public Slice createWifiCallingSlice(Uri sliceUri) {
|
||||
final int subId = getDefaultVoiceSubId();
|
||||
|
||||
if (!SubscriptionManager.isValidSubscriptionId(subId)) {
|
||||
Log.d(TAG, "Invalid subscription Id");
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!queryImsState(subId).isWifiCallingProvisioned()) {
|
||||
if (!queryImsState(subId).isReadyToWifiCalling()) {
|
||||
Log.d(TAG, "Wifi calling is either not provisioned or not enabled by Platform");
|
||||
return null;
|
||||
}
|
||||
@@ -223,7 +218,7 @@ public class WifiCallingSliceHelper {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!queryImsState(subId).isWifiCallingProvisioned()) {
|
||||
if (!queryImsState(subId).isReadyToWifiCalling()) {
|
||||
Log.d(TAG, "Wifi calling is either not provisioned or not enabled by platform");
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user