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

Commit 500dc753 authored by Rachel Lee's avatar Rachel Lee
Browse files

Remove hidden compatibility constants from Intdef

Removes `@hide` frame rate compatibility constants from the @IntDef
because they will show up in the public APIs that use the
@FrameRateCompatibility annotation! (such as Surface::setFrameRate)

Bug: 332576192
Test: presubmit
Change-Id: I1e12362be3136d038af0baf1e5c633b786ffb42d
parent 887e6d6c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -203,9 +203,7 @@ public class Surface implements Parcelable {
    /** @hide */
    @Retention(RetentionPolicy.SOURCE)
    @IntDef(prefix = {"FRAME_RATE_COMPATIBILITY_"},
            value = {FRAME_RATE_COMPATIBILITY_DEFAULT, FRAME_RATE_COMPATIBILITY_FIXED_SOURCE,
                    FRAME_RATE_COMPATIBILITY_EXACT, FRAME_RATE_COMPATIBILITY_NO_VOTE,
                    FRAME_RATE_COMPATIBILITY_MIN, FRAME_RATE_COMPATIBILITY_GTE})
            value = {FRAME_RATE_COMPATIBILITY_DEFAULT, FRAME_RATE_COMPATIBILITY_FIXED_SOURCE})
    public @interface FrameRateCompatibility {}

    // From native_window.h. Keep these in sync.