Merge "Fix cell data preference in single sim case" into nyc-dev
This commit is contained in:
@@ -121,7 +121,7 @@ public class CellDataPreference extends CustomDialogPreference implements Templa
|
|||||||
if (!Utils.showSimCardTile(getContext()) ||
|
if (!Utils.showSimCardTile(getContext()) ||
|
||||||
(nextSir != null && currentSir != null &&
|
(nextSir != null && currentSir != null &&
|
||||||
currentSir.getSubscriptionId() == nextSir.getSubscriptionId())) {
|
currentSir.getSubscriptionId() == nextSir.getSubscriptionId())) {
|
||||||
setMobileDataEnabled(true);
|
setMobileDataEnabled(false);
|
||||||
if (nextSir != null && currentSir != null &&
|
if (nextSir != null && currentSir != null &&
|
||||||
currentSir.getSubscriptionId() == nextSir.getSubscriptionId()) {
|
currentSir.getSubscriptionId() == nextSir.getSubscriptionId()) {
|
||||||
disableDataForOtherSubscriptions(mSubId);
|
disableDataForOtherSubscriptions(mSubId);
|
||||||
|
Reference in New Issue
Block a user