Add log for setDataEnabledForReason
To know who change the mobile data Bug: 331843727 Test: NA Adding log only Change-Id: I3ef5662102761541cd3e0e4662e0acab07c71937
This commit is contained in:
@@ -152,8 +152,7 @@ public class CellDataPreference extends CustomDialogPreferenceCompat
|
||||
}
|
||||
|
||||
private void setMobileDataEnabled(boolean enabled) {
|
||||
if (DataUsageSummary.LOGD) Log.d(TAG, "setMobileDataEnabled(" + enabled + ","
|
||||
+ mSubId + ")");
|
||||
Log.d(TAG, "setDataEnabledForReason (" + enabled + "," + mSubId + ")");
|
||||
getContext().getSystemService(TelephonyManager.class).setDataEnabled(mSubId, enabled);
|
||||
setChecked(enabled);
|
||||
}
|
||||
|
Reference in New Issue
Block a user