From 3d850a7fd7e1725f3e2703df2bc7d27089aa5224 Mon Sep 17 00:00:00 2001 From: Nathan Harold Date: Tue, 2 Oct 2018 15:55:36 -0700 Subject: [PATCH] Use SDK Constant for NeighboringCellInfo Docstring As per API council feedback, when documenting SDK-level-specific behavior and recommendations, the document should use and link to the SDK constant rather than its value. Update the docstring accordingly, and also some minor verbiage tweaks. Bug: 117154674 Test: compilation; docstring-only change Change-Id: I0ee56a4d76a311a8e0136766ef45aeda46cd12b4 --- telephony/java/android/telephony/NeighboringCellInfo.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/telephony/java/android/telephony/NeighboringCellInfo.java b/telephony/java/android/telephony/NeighboringCellInfo.java index 5e4518f675384..79298fd54c500 100644 --- a/telephony/java/android/telephony/NeighboringCellInfo.java +++ b/telephony/java/android/telephony/NeighboringCellInfo.java @@ -33,8 +33,9 @@ import android.os.Parcelable; * Represents the neighboring cell information, including * Received Signal Strength and Cell ID location. * - * @deprecated This class should not be used by anyone targeting SDK level 29 (Q) or higher. - * Instead callers should use {@Link android.telephony.CellInfo}. + * @deprecated This class should not be used by any app targeting + * {@link Build.VERSION_CODES.Q Android Q} or higher. Instead callers should use + * {@Link android.telephony.CellInfo CellInfo}. */ @Deprecated public class NeighboringCellInfo implements Parcelable