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
This commit is contained in:
Evan Rosky
2023-01-19 19:40:43 +00:00
parent fa377e7ddc
commit a40aae9a79
2 changed files with 9 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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