Loading core/java/android/view/Display.java +2 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.graphics.Point; import android.graphics.Rect; import android.hardware.display.DisplayManager; import android.hardware.display.DisplayManagerGlobal; import android.os.Build; import android.os.Parcel; import android.os.Parcelable; import android.os.Process; Loading Loading @@ -495,7 +496,7 @@ public final class Display { * @return True if the display is still valid. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean getDisplayInfo(DisplayInfo outDisplayInfo) { synchronized (this) { updateDisplayInfoLocked(); Loading core/java/android/view/DisplayInfo.java +2 −1 Original line number Diff line number Diff line Loading @@ -158,8 +158,9 @@ public final class DisplayInfo implements Parcelable { * * @hide */ // Remark on @UnsupportedAppUsage: Display.getCutout should be used instead @Nullable @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public DisplayCutout displayCutout; /** Loading Loading
core/java/android/view/Display.java +2 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.graphics.Point; import android.graphics.Rect; import android.hardware.display.DisplayManager; import android.hardware.display.DisplayManagerGlobal; import android.os.Build; import android.os.Parcel; import android.os.Parcelable; import android.os.Process; Loading Loading @@ -495,7 +496,7 @@ public final class Display { * @return True if the display is still valid. * @hide */ @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public boolean getDisplayInfo(DisplayInfo outDisplayInfo) { synchronized (this) { updateDisplayInfoLocked(); Loading
core/java/android/view/DisplayInfo.java +2 −1 Original line number Diff line number Diff line Loading @@ -158,8 +158,9 @@ public final class DisplayInfo implements Parcelable { * * @hide */ // Remark on @UnsupportedAppUsage: Display.getCutout should be used instead @Nullable @UnsupportedAppUsage @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P) public DisplayCutout displayCutout; /** Loading