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
diff --git a/include/android/display_luts.h b/include/android/display_luts.h
index 5026646..08dfb12 100644
--- a/include/android/display_luts.h
+++ b/include/android/display_luts.h
@@ -35,6 +35,7 @@
ADISPLAYLUTS_ONE_DIMENSION = 1,
ADISPLAYLUTS_THREE_DIMENSION = 3,
};
+typedef enum ADisplayLuts_Dimension ADisplayLuts_Dimension;
/**
* The sampling key used by the lut
@@ -43,6 +44,7 @@
ADISPLAYLUTS_SAMPLINGKEY_RGB = 0,
ADISPLAYLUTS_SAMPLINGKEY_MAX_RGB = 1,
};
+typedef enum ADisplayLuts_SamplingKey ADisplayLuts_SamplingKey;
/**
* Used to get and set display luts entry