Rename setMobileDataPolicyEnabledStatus
Rename to setMobileDataPolicyEnabled per API council comments Fixes: 171804465 Test: atest TelephonyManagerTest Change-Id: Ib9ff4ee01e2af4d3fd368afffa36226100f11e2d
This commit is contained in:
@@ -111,11 +111,11 @@ public class MmsMessagePreferenceControllerTest {
|
||||
@Test
|
||||
public void setChecked_setDataIntoSubscriptionManager() {
|
||||
mController.setChecked(true);
|
||||
verify(mTelephonyManager).setMobileDataPolicyEnabledStatus(
|
||||
verify(mTelephonyManager).setMobileDataPolicyEnabled(
|
||||
TelephonyManager.MOBILE_DATA_POLICY_MMS_ALWAYS_ALLOWED, true);
|
||||
|
||||
mController.setChecked(false);
|
||||
verify(mTelephonyManager).setMobileDataPolicyEnabledStatus(
|
||||
verify(mTelephonyManager).setMobileDataPolicyEnabled(
|
||||
TelephonyManager.MOBILE_DATA_POLICY_MMS_ALWAYS_ALLOWED, false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user