Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6eddd842 authored by Evan Rosky's avatar Evan Rosky
Browse files

Deprecate AnimationFrameStats

AnimationFrames aren't used anymore, so deprecate the APIs before
removal

Bug: 183993924
Test: N/A
Change-Id: I35076bb5a3d8445aaa0eab05221cdc228834a6d6
parent b4466eea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6765,7 +6765,7 @@ package android.app {
  public final class UiAutomation {
    method public void adoptShellPermissionIdentity();
    method public void adoptShellPermissionIdentity(@Nullable java.lang.String...);
    method public void clearWindowAnimationFrameStats();
    method @Deprecated public void clearWindowAnimationFrameStats();
    method public boolean clearWindowContentFrameStats(int);
    method public void dropShellPermissionIdentity();
    method public android.view.accessibility.AccessibilityEvent executeAndWaitForEvent(Runnable, android.app.UiAutomation.AccessibilityEventFilter, long) throws java.util.concurrent.TimeoutException;
@@ -6774,7 +6774,7 @@ package android.app {
    method public android.view.accessibility.AccessibilityNodeInfo findFocus(int);
    method public android.view.accessibility.AccessibilityNodeInfo getRootInActiveWindow();
    method public android.accessibilityservice.AccessibilityServiceInfo getServiceInfo();
    method public android.view.WindowAnimationFrameStats getWindowAnimationFrameStats();
    method @Deprecated public android.view.WindowAnimationFrameStats getWindowAnimationFrameStats();
    method public android.view.WindowContentFrameStats getWindowContentFrameStats(int);
    method public java.util.List<android.view.accessibility.AccessibilityWindowInfo> getWindows();
    method @NonNull public android.util.SparseArray<java.util.List<android.view.accessibility.AccessibilityWindowInfo>> getWindowsOnAllDisplays();
+4 −0
Original line number Diff line number Diff line
@@ -1174,7 +1174,9 @@ public final class UiAutomation {
     * @see android.view.WindowAnimationFrameStats
     * @see #getWindowAnimationFrameStats()
     * @see android.R.styleable#WindowAnimation
     * @deprecated animation-frames are no-longer used.
     */
    @Deprecated
    public void clearWindowAnimationFrameStats() {
        try {
            if (DEBUG) {
@@ -1213,7 +1215,9 @@ public final class UiAutomation {
     * @see android.view.WindowAnimationFrameStats
     * @see #clearWindowAnimationFrameStats()
     * @see android.R.styleable#WindowAnimation
     * @deprecated animation-frames are no-longer used.
     */
    @Deprecated
    public WindowAnimationFrameStats getWindowAnimationFrameStats() {
        try {
            if (DEBUG) {