[Provider Model] Connect carrier network issue fix
- Need to check if the data is enabled on the second SIM in the case of dual SIM. Bug: 177411771 Test: manual test Change-Id: Ieead7a4550628d5380b8d0150cfd7a67c47980ca
This commit is contained in:
@@ -498,7 +498,7 @@ public class SubscriptionsPreferenceController extends AbstractPreferenceControl
|
||||
|
||||
@VisibleForTesting
|
||||
public void connectCarrierNetwork() {
|
||||
if (mTelephonyManager == null || !mTelephonyManager.isDataEnabled()) {
|
||||
if (!MobileNetworkUtils.isMobileDataEnabled(mContext)) {
|
||||
return;
|
||||
}
|
||||
if (mWifiPickerTrackerHelper != null) {
|
||||
|
Reference in New Issue
Block a user