From 936e99473b04e7af3385448657f29d44fae38574 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 Merged-In: I1ddf89bae8d7a477ae3a521f052bc921cf3ee5ae Change-Id: I1ddf89bae8d7a477ae3a521f052bc921cf3ee5ae (cherry picked from commit 4bb237e4ae99e3a41bc7f1c1000a2697bd425f18) --- .../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 d156907af0812..a686c007aee50 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -11542,18 +11542,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