Merge "Fix cell data preference in single sim case" into nyc-dev am: 04f10a5

am: e0ec32c

* commit 'e0ec32c26e580b5dca8c1968f20949021d37211f':
  Fix cell data preference in single sim case

Change-Id: I317173dde03aac9d5b5ac0ec9805347a069a6086
This commit is contained in:
Jason Monk
2016-03-31 15:50:46 +00:00
committed by android-build-merger

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);