Rename setMobileDataPolicyEnabledStatus

Rename to setMobileDataPolicyEnabled per API council comments

Fixes: 171804465
Test: atest TelephonyManagerTest
Change-Id: Ib9ff4ee01e2af4d3fd368afffa36226100f11e2d
This commit is contained in:
Hall Liu
2021-02-02 12:09:48 -08:00
parent 10b7a7d483
commit 68931a6911
3 changed files with 4 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ public class DataDuringCallsPreferenceController extends TelephonyTogglePreferen
@Override
public boolean setChecked(boolean isChecked) {
mManager.setMobileDataPolicyEnabledStatus(
mManager.setMobileDataPolicyEnabled(
TelephonyManager.MOBILE_DATA_POLICY_DATA_ON_NON_DEFAULT_DURING_VOICE_CALL,
isChecked);
return true;