summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorJimmy Chen <jimmycmchen@google.com>2020-06-17 08:32:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-06-17 08:32:36 +0000
commit004d0bb26f44f0265477909e6119673a5a8df76c (patch)
treeb1d0542d3230f77da1b4573341f4ab44a496100c /service
parentc1e74f5c89a388568d5ab5817356dd39456a8fe5 (diff)
parentf9db9eb1fd52975a6570fdd1bd346efb896b890c (diff)
Merge "wifi: remove LTE voice network check for wifi off deferring" into rvc-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/ClientModeManager.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeManager.java b/service/java/com/android/server/wifi/ClientModeManager.java
index 608933950..4fb4b870d 100644
--- a/service/java/com/android/server/wifi/ClientModeManager.java
+++ b/service/java/com/android/server/wifi/ClientModeManager.java
@@ -35,7 +35,6 @@ import android.telephony.AccessNetworkConstants;
import android.telephony.CarrierConfigManager;
import android.telephony.SubscriptionInfo;
import android.telephony.SubscriptionManager;
-import android.telephony.TelephonyManager;
import android.telephony.ims.ImsException;
import android.telephony.ims.ImsMmTelManager;
import android.telephony.ims.ImsReasonInfo;
@@ -322,16 +321,6 @@ public class ClientModeManager implements ActiveModeManager {
return 0;
}
- TelephonyManager defaultVoiceTelephonyManager =
- mContext.getSystemService(TelephonyManager.class)
- .createForSubscriptionId(subId);
- // if LTE is available, no delay needed as IMS will be registered over LTE
- if (defaultVoiceTelephonyManager.getVoiceNetworkType()
- == TelephonyManager.NETWORK_TYPE_LTE) {
- Log.d(TAG, "LTE available and is default voice network type");
- return 0;
- }
-
CarrierConfigManager configManager =
(CarrierConfigManager) mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE);
PersistableBundle config = configManager.getConfigForSubId(subId);