telephony: Rename cipher transparency APIs for consistency
Bug: 316037267
Change-Id: I0b8449bb7994eda98bba3c8f0470c012cc685d85
Test: atest android.telephony.cts.TelephonyManagerTest
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 3bd29e3..a968b82 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -12802,7 +12802,7 @@
* @throws UnsupportedOperationException if the modem does not support this feature.
*/
@RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
- public void enableCellularIdentifierDisclosureNotifications(boolean enable) {
+ public void setEnableCellularIdentifierDisclosureNotifications(boolean enable) {
enforceModifyPermission();
checkForIdentifierDisclosureNotificationSupport();
@@ -12824,7 +12824,7 @@
* @throws UnsupportedOperationException if the modem does not support this feature.
*/
@RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
- public boolean isCellularIdentifierDisclosureNotificationEnabled() {
+ public boolean isCellularIdentifierDisclosureNotificationsEnabled() {
enforceReadPrivilegedPermission("isCellularIdentifierDisclosureNotificationEnabled");
checkForIdentifierDisclosureNotificationSupport();
return getDefaultPhone().getIdentifierDisclosureNotificationsPreferenceEnabled();