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:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user