From 1df7ee57578adad1c1a7404c69f91f326d8e8712 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Thu, 12 Apr 2018 12:21:59 -0600 Subject: Remove poorly defined notification APIs. They were rushed in at the last second, and feedback from stakeholders reveals they're not ready for prime time. Bug: 77851691 Test: builds, boots Exempt-From-Owner-Approval: SDK finalization Change-Id: I96f6c80610627878a29543b345419924774a60e0 --- api/current.txt | 3 --- telephony/java/android/telephony/CarrierConfigManager.java | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/current.txt b/api/current.txt index eac216815aaf..dc0802d27fd4 100644 --- a/api/current.txt +++ b/api/current.txt @@ -41685,10 +41685,7 @@ package android.telephony { field public static final java.lang.String KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING = "config_plans_package_override_string"; field public static final java.lang.String KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL = "config_telephony_use_own_number_for_voicemail_bool"; field public static final java.lang.String KEY_CSP_ENABLED_BOOL = "csp_enabled_bool"; - field public static final java.lang.String KEY_DATA_LIMIT_NOTIFICATION_BOOL = "data_limit_notification_bool"; field public static final java.lang.String KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG = "data_limit_threshold_bytes_long"; - field public static final java.lang.String KEY_DATA_RAPID_NOTIFICATION_BOOL = "data_rapid_notification_bool"; - field public static final java.lang.String KEY_DATA_WARNING_NOTIFICATION_BOOL = "data_warning_notification_bool"; field public static final java.lang.String KEY_DATA_WARNING_THRESHOLD_BYTES_LONG = "data_warning_threshold_bytes_long"; field public static final java.lang.String KEY_DEFAULT_SIM_CALL_MANAGER_STRING = "default_sim_call_manager_string"; field public static final java.lang.String KEY_DEFAULT_VM_NUMBER_STRING = "default_vm_number_string"; diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index e2441316c7e1..024f242a9eba 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -1687,6 +1687,7 @@ public class CarrierConfigManager { * Controls if the device should automatically notify the user as they reach * their cellular data warning. When set to {@code false} the carrier is * expected to have implemented their own notification mechanism. + * @hide */ public static final String KEY_DATA_WARNING_NOTIFICATION_BOOL = "data_warning_notification_bool"; @@ -1709,6 +1710,7 @@ public class CarrierConfigManager { * Controls if the device should automatically notify the user as they reach * their cellular data limit. When set to {@code false} the carrier is * expected to have implemented their own notification mechanism. + * @hide */ public static final String KEY_DATA_LIMIT_NOTIFICATION_BOOL = "data_limit_notification_bool"; @@ -1717,6 +1719,7 @@ public class CarrierConfigManager { * Controls if the device should automatically notify the user when rapid * cellular data usage is observed. When set to {@code false} the carrier is * expected to have implemented their own notification mechanism. + * @hide */ public static final String KEY_DATA_RAPID_NOTIFICATION_BOOL = "data_rapid_notification_bool"; -- cgit v1.2.3-59-g8ed1b