Skip to content

Commit 345be94

Browse files
author
Sally Qi
committed
Fix the return type of ADisplayLutsEntry_getDimension and ADisplayLutsEntry_getSamplingKey.
- to fix https://screenshot.googleplex.com/4BTVD4TjjDfuwcs Bug: n/a Change-Id: I9fdc07acef94be75f251a0246cea5116ac01f892 Test: builds Flag: EXEMPT NDK
1 parent 8fada3c commit 345be94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/android/display_luts.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ enum ADisplayLuts_Dimension : int32_t {
3535
ADISPLAYLUTS_ONE_DIMENSION = 1,
3636
ADISPLAYLUTS_THREE_DIMENSION = 3,
3737
};
38+
typedef enum ADisplayLuts_Dimension ADisplayLuts_Dimension;
3839

3940
/**
4041
* The sampling key used by the lut
@@ -43,6 +44,7 @@ enum ADisplayLuts_SamplingKey : int32_t {
4344
ADISPLAYLUTS_SAMPLINGKEY_RGB = 0,
4445
ADISPLAYLUTS_SAMPLINGKEY_MAX_RGB = 1,
4546
};
47+
typedef enum ADisplayLuts_SamplingKey ADisplayLuts_SamplingKey;
4648

4749
/**
4850
* Used to get and set display luts entry

0 commit comments

Comments
 (0)