Skip to content

Commit 5415547

Browse files
committed
Add enum tag to refer to the types
Bug: 346604998 Flag: EXEMPT ndk Test: build Change-Id: I859685babd1552b45ad48e1fe64d21ed84b55faf
1 parent 320eda3 commit 5415547

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/android/system_health.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ enum ACpuHeadroomCalculationType {
9696
*/
9797
ACPU_HEADROOM_CALCULATION_TYPE_AVERAGE = 1,
9898
};
99+
typedef enum ACpuHeadroomCalculationType ACpuHeadroomCalculationType;
99100

100101
enum AGpuHeadroomCalculationType {
101102
/**
@@ -109,6 +110,7 @@ enum AGpuHeadroomCalculationType {
109110
*/
110111
AGPU_HEADROOM_CALCULATION_TYPE_AVERAGE = 1,
111112
};
113+
typedef enum AGpuHeadroomCalculationType AGpuHeadroomCalculationType;
112114

113115
/**
114116
* Sets the headroom calculation window size in ACpuHeadroomParams.

0 commit comments

Comments
 (0)