From 81f7ee8ba2a6f0f0ad4a031e12c4341a91d218a1 Mon Sep 17 00:00:00 2001 From: Zoey Chen Date: Thu, 3 Sep 2020 11:11:29 +0800 Subject: [PATCH] Remove the unnecessary description since it will show up in the API Docs page for this API first. Bug: 162300897 Test: manual test Change-Id: I513b61ee31b5d1ea20494340398cc21e0185aa7d --- telephony/java/android/telephony/TelephonyManager.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 4ce9cb90b6840..969016b1c0170 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -5555,7 +5555,8 @@ public class TelephonyManager { * @param events The telephony state(s) of interest to the listener, * as a bitwise-OR combination of {@link PhoneStateListener} * LISTEN_ flags. - * @deprecated use {@link #listen(long, PhoneStateListener) instead. + * @deprecated use {@link #listen(long, PhoneStateListener) instead due to the event number + * limit increased to 64. */ @Deprecated public void listen(PhoneStateListener listener, int events) { @@ -5563,9 +5564,6 @@ public class TelephonyManager { } /** - * Since the limit of {@link PhoneStateListener} LISTEN_ flags is exceeded, use long type to - * extend it. - * * Registers a listener object to receive notification of changes * in specified telephony states. *