From 97f78a0beffb5014035a2ad29a2238939a716d38 Mon Sep 17 00:00:00 2001 From: Alice Yuan Date: Tue, 4 Apr 2023 21:17:30 +0000 Subject: Update AnalogClock deprecation tag to be more explicit about the where it is deprecated and still supported Change-Id: Iea142c219aad76a7e606c32ec3ec52e74252a567 --- core/java/android/widget/AnalogClock.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/java/android/widget/AnalogClock.java b/core/java/android/widget/AnalogClock.java index 3df09c24ca30..1f0e95ea305a 100644 --- a/core/java/android/widget/AnalogClock.java +++ b/core/java/android/widget/AnalogClock.java @@ -49,15 +49,18 @@ import java.util.Formatter; import java.util.Locale; /** - * This widget display an analogic clock with two hands for hours and - * minutes. + * This widget displays an analogic clock with two hands for hours and minutes. * * @attr ref android.R.styleable#AnalogClock_dial * @attr ref android.R.styleable#AnalogClock_hand_hour * @attr ref android.R.styleable#AnalogClock_hand_minute * @attr ref android.R.styleable#AnalogClock_hand_second * @attr ref android.R.styleable#AnalogClock_timeZone - * @deprecated This widget is no longer supported. + * @deprecated This widget is no longer supported; except for + * {@link android.widget.RemoteViews} use cases like + * + * app widgets. + * */ @RemoteView @Deprecated -- cgit v1.2.3-59-g8ed1b