From 4bb237e4ae99e3a41bc7f1c1000a2697bd425f18 Mon Sep 17 00:00:00 2001 From: Rambo Wang Date: Tue, 1 Dec 2020 19:13:25 -0800 Subject: [PATCH] Clean up unused indication update mode definition in TelephonyManager INDICATION_UPDATE_MODE_NORMAL and INDICATION_UPDATE_MODE_IGNORE_SCREEN_OFF was used to set the indication update mode. But all the usage has been removed, the definitions become orphan. Bug: 174614001 Test: m -j Change-Id: I1ddf89bae8d7a477ae3a521f052bc921cf3ee5ae --- .../java/android/telephony/TelephonyManager.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 643d8c8ba2a52..9b51e4a52b9e9 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -11692,18 +11692,6 @@ public class TelephonyManager { com.android.internal.R.bool.config_mobile_data_capable); } - /** - * In this mode, modem will not send specified indications when screen is off. - * @hide - */ - public static final int INDICATION_UPDATE_MODE_NORMAL = 1; - - /** - * In this mode, modem will still send specified indications when screen is off. - * @hide - */ - public static final int INDICATION_UPDATE_MODE_IGNORE_SCREEN_OFF = 2; - /** * The indication for signal strength update. * @hide