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

Commit 34e8f90a authored by John Reck's avatar John Reck
Browse files

Fix constant

Why isn't this a compile failure??

Bug: 193558894
Test: WIP HardwareBuffer CTS test
Change-Id: Ib803816e70259f7c52fa4d4c06dffdb49df43e23
parent 42372515
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18053,7 +18053,7 @@ package android.hardware {
    field public static final long USAGE_CPU_READ_RARELY = 2L; // 0x2L
    field public static final long USAGE_CPU_WRITE_OFTEN = 48L; // 0x30L
    field public static final long USAGE_CPU_WRITE_RARELY = 32L; // 0x20L
    field public static final long USAGE_FRONT_BUFFER = 1L; // 0x1L
    field public static final long USAGE_FRONT_BUFFER = 4294967296L; // 0x100000000L
    field public static final long USAGE_GPU_COLOR_OUTPUT = 512L; // 0x200L
    field public static final long USAGE_GPU_CUBE_MAP = 33554432L; // 0x2000000L
    field public static final long USAGE_GPU_DATA_BUFFER = 16777216L; // 0x1000000L
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ public final class HardwareBuffer implements Parcelable, AutoCloseable {
     * used as USAGE_GPU_COLOR_OUTPUT the buffer will behave similar to a single-buffered window.
     * When used with USAGE_COMPOSER_OVERLAY, the system will try to prioritize the buffer
     * receiving an overlay plane & avoid caching it in intermediate composition buffers. */
    public static final long USAGE_FRONT_BUFFER           = 1 << 32;
    public static final long USAGE_FRONT_BUFFER           = 1L << 32;

    /**
     * Creates a new <code>HardwareBuffer</code> instance.