Merge "Added @NonNull annoation to Insets.NONE static field"

This commit is contained in:
Nader Jawad
2019-03-11 21:36:35 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -14250,7 +14250,7 @@ package android.graphics {
method @NonNull public static android.graphics.Insets subtract(@NonNull android.graphics.Insets, @NonNull android.graphics.Insets);
method public void writeToParcel(android.os.Parcel, int);
field @NonNull public static final android.os.Parcelable.Creator<android.graphics.Insets> CREATOR;
field public static final android.graphics.Insets NONE;
field @NonNull public static final android.graphics.Insets NONE;
field public final int bottom;
field public final int left;
field public final int right;

View File

@@ -30,7 +30,7 @@ import android.os.Parcelable;
*
*/
public final class Insets implements Parcelable {
public static final Insets NONE = new Insets(0, 0, 0, 0);
public static final @NonNull Insets NONE = new Insets(0, 0, 0, 0);
public final int left;
public final int top;