summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2022-03-29 16:08:09 -0700
committer Evan Rosky <erosky@google.com> 2022-03-30 20:15:45 +0000
commitf0dfb84bcd644c684702da4b2544634cd24ee0f2 (patch)
treeab5bd4975480ada3d425a8b3a13388470f9dafc6
parentd5826ea5318b0ecb615533395e9166686956c343 (diff)
Add alternative to deprecated API
Bug: 217742181 Test: N/A, just comment change Change-Id: Icf995b30ff12fc65d6b7455bb18e92882ad9f58f
-rw-r--r--core/java/android/app/UiAutomation.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/app/UiAutomation.java b/core/java/android/app/UiAutomation.java
index 5e521b03f6e3..893dc2f6ace4 100644
--- a/core/java/android/app/UiAutomation.java
+++ b/core/java/android/app/UiAutomation.java
@@ -1209,7 +1209,9 @@ public final class UiAutomation {
* @see android.view.WindowAnimationFrameStats
* @see #getWindowAnimationFrameStats()
* @see android.R.styleable#WindowAnimation
- * @deprecated animation-frames are no-longer used.
+ * @deprecated animation-frames are no-longer used. Use Shared
+ * <a href="https://perfetto.dev/docs/data-sources/frametimeline">FrameTimeline</a>
+ * jank metrics instead.
*/
@Deprecated
public void clearWindowAnimationFrameStats() {