Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cd86031 authored by Nader Jawad's avatar Nader Jawad
Browse files

Added @NonNull annoation to Insets.NONE static field

Addressing API review feedback regarding missing annotations
on Insets.NONE

Bug: 126699576
Test: N/A
Change-Id: I46748b504e04be7f29a41fa83362e9910295eafa
parent ed3a2ff5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14246,7 +14246,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;
+1 −1
Original line number Diff line number Diff line
@@ -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;