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

Commit a40aae9a authored by Evan Rosky's avatar Evan Rosky
Browse files

Mark WindowAnimationFrameStats as deprecated

This is only used internally to UIAutomator now and its
functionality is replaced by taking frametimeline traces.

Bug: 217742181
Test: N/A, just annotation + comment
Change-Id: I05546ca5e2add621557bc2af7f62e27648ab1741
parent fa377e7d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -52816,10 +52816,10 @@ package android.view {
    method public void onRestrictedCaptionAreaChanged(android.graphics.Rect);
  }
  public final class WindowAnimationFrameStats extends android.view.FrameStats implements android.os.Parcelable {
    method public int describeContents();
    method public void writeToParcel(android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.view.WindowAnimationFrameStats> CREATOR;
  @Deprecated public final class WindowAnimationFrameStats extends android.view.FrameStats implements android.os.Parcelable {
    method @Deprecated public int describeContents();
    method @Deprecated public void writeToParcel(android.os.Parcel, int);
    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.view.WindowAnimationFrameStats> CREATOR;
  }
  public final class WindowContentFrameStats extends android.view.FrameStats implements android.os.Parcelable {
+5 −0
Original line number Diff line number Diff line
@@ -32,7 +32,12 @@ import android.os.Parcelable;
 * #getRefreshPeriodNano()}. If the system does not render a frame every refresh
 * period the user will see irregular window transitions. The time when the frame was
 * actually presented on the display by calling {@link #getFramePresentedTimeNano(int)}.
 *
 * @deprecated Use Shared
 *             <a href="https://perfetto.dev/docs/data-sources/frametimeline">FrameTimeline</a>
 *             jank metrics instead.
 */
@Deprecated
public final class WindowAnimationFrameStats extends FrameStats implements Parcelable {
    /**
     * @hide