summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alice Yuan <yuanalice@google.com> 2023-04-05 22:03:24 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-04-05 22:03:24 +0000
commitaacf42716b8e1759b76ac580d7dc52b9e17f5a26 (patch)
tree788f4319ce50a18033d3e830c060556bc35a564c
parentc33f81fff5c3154ab83ee5402e2ec0384e1edbe4 (diff)
parent97f78a0beffb5014035a2ad29a2238939a716d38 (diff)
Merge "Update AnalogClock deprecation tag to be more explicit about the where it is deprecated and still supported"
-rw-r--r--core/java/android/widget/AnalogClock.java9
1 files 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
+ * <a href="https://developer.android.com/develop/ui/views/appwidgets/overview">
+ * app widgets</a>.
+ *
*/
@RemoteView
@Deprecated