Add prefix to ImageDecoder.Allocator

Bug: 73788928
Test: No change in behavior; no new tests

This will allow the generated JavaDocs to include these in setAllocator.

Change-Id: Icd109ddf45e8809da1a0980924a6f4feccefcac2
This commit is contained in:
Leon Scroggins III
2018-02-26 12:32:52 -05:00
committed by Leon Scroggins
parent f42a1080d5
commit 62f0800ef4

View File

@@ -758,8 +758,9 @@ public final class ImageDecoder implements AutoCloseable {
/** @hide **/
@Retention(SOURCE)
@IntDef({ ALLOCATOR_DEFAULT, ALLOCATOR_SOFTWARE, ALLOCATOR_SHARED_MEMORY,
ALLOCATOR_HARDWARE })
@IntDef(value = { ALLOCATOR_DEFAULT, ALLOCATOR_SOFTWARE,
ALLOCATOR_SHARED_MEMORY, ALLOCATOR_HARDWARE },
prefix = {"ALLOCATOR_"})
public @interface Allocator {};
/**