From 4f8fe45e463209a737230bab8e67b5cfabaff198 Mon Sep 17 00:00:00 2001 From: Nathan Harold Date: Wed, 27 Jul 2022 17:53:06 -0700 Subject: [PATCH] Fix inconsistant nullability doc on onCellInfo() Remove an incorrect statement that CellInfo can be null in CellInfoCallback#onCellInfo(). Bug: 204475683 Test: compilation (docstring-only change) Change-Id: I8decd8ebb0f1df92e23f76610594d03ba0a37fe1 --- telephony/java/android/telephony/TelephonyManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index ec30b7a0ca9b9..1990b0162d26a 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -6559,7 +6559,7 @@ public class TelephonyManager { * list will be provided. If an error occurs, null will be provided unless the onError * callback is overridden. * - * @param cellInfo a list of {@link CellInfo}, an empty list, or null. + * @param cellInfo a list of {@link CellInfo} or an empty list. * * {@see android.telephony.TelephonyManager#getAllCellInfo getAllCellInfo()} */