Merge "Fix cell data preference in single sim case" into nyc-dev

This commit is contained in:
Jason Monk
2016-03-31 13:56:51 +00:00
committed by Android (Google) Code Review

View File

@@ -121,7 +121,7 @@ public class CellDataPreference extends CustomDialogPreference implements Templa
if (!Utils.showSimCardTile(getContext()) ||
(nextSir != null && currentSir != null &&
currentSir.getSubscriptionId() == nextSir.getSubscriptionId())) {
setMobileDataEnabled(true);
setMobileDataEnabled(false);
if (nextSir != null && currentSir != null &&
currentSir.getSubscriptionId() == nextSir.getSubscriptionId()) {
disableDataForOtherSubscriptions(mSubId);