Remove legacy insets from View.AttachInfo

The fields aren't used by anyone.

Bug: 149813814
Test: Build
Change-Id: I610375edcc212ce1f3a8045ef275648fe6939c5a
This commit is contained in:
Tiger Huang
2020-10-21 23:06:40 +08:00
parent ceabf520ac
commit 33933fa9cf

View File

@@ -80,7 +80,6 @@ import android.graphics.drawable.GradientDrawable;
import android.hardware.display.DisplayManagerGlobal;
import android.net.Uri;
import android.os.Build;
import android.os.Build.VERSION_CODES;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
@@ -28911,33 +28910,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
*/
boolean mUse32BitDrawingCache;
/**
* For windows that are full-screen but using insets to layout inside
* of the screen decorations, these are the current insets for the
* content of the window.
*/
@UnsupportedAppUsage(maxTargetSdk = VERSION_CODES.Q,
publicAlternatives = "Use {@link WindowInsets#getInsets(int)}")
final Rect mContentInsets = new Rect();
/**
* For windows that are full-screen but using insets to layout inside
* of the screen decorations, these are the current insets for the
* actual visible parts of the window.
*/
@UnsupportedAppUsage(maxTargetSdk = VERSION_CODES.Q,
publicAlternatives = "Use {@link WindowInsets#getInsets(int)}")
final Rect mVisibleInsets = new Rect();
/**
* For windows that are full-screen but using insets to layout inside
* of the screen decorations, these are the current insets for the
* stable system windows.
*/
@UnsupportedAppUsage(maxTargetSdk = VERSION_CODES.Q,
publicAlternatives = "Use {@link WindowInsets#getInsets(int)}")
final Rect mStableInsets = new Rect();
/**
* Current caption insets to the display coordinate.
*/