Merge "Mark WindowAnimationFrameStats as deprecated"

This commit is contained in:
Evan Rosky
2023-01-20 18:32:06 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 4 deletions

View File

@@ -52963,10 +52963,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