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

Commit 4621375f authored by Rachel Lee's avatar Rachel Lee Committed by Android (Google) Code Review
Browse files

Merge "Make Display.Mode.isSynthetic TestApi" into aosp-main-future

parents 84fae06e 493a723d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3633,6 +3633,7 @@ package android.view {

  public static final class Display.Mode implements android.os.Parcelable {
    ctor public Display.Mode(int, int, float);
    method public boolean isSynthetic();
    method public boolean matches(int, int, float);
  }

+2 −0
Original line number Diff line number Diff line
@@ -2344,6 +2344,8 @@ public final class Display {
         * SurfaceControl.DisplayMode
         * @hide
         */
        @SuppressWarnings("UnflaggedApi") // For testing only
        @TestApi
        public boolean isSynthetic() {
            return mIsSynthetic;
        }