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

am: 04f10a5

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

Change-Id: I08d74e06819a2d0487149af5bfa40a6124b3100c
This commit is contained in:
Jason Monk
2016-03-31 15:43:28 +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);