add note to how to change syscap_define.h.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I5c812a7302edfb6b2a9af5aac45361715b2f22a6
This commit is contained in:
yudechen
2022-08-04 19:30:36 +08:00
parent 0822d240d3
commit a3e781c1fc
+5 -1
View File
@@ -25,7 +25,10 @@ typedef struct SystemCapabilityWithNum {
uint16_t num;
} SyscapWithNum;
/* New syscap index must be added last */
/*
* New syscap index must be added last and
* don't delete anyone, just comment after it.
*/
typedef enum SystemCapabilityNum {
ACCOUNT_APPACCOUNT,
ACCOUNT_OSACCOUNT,
@@ -97,6 +100,7 @@ typedef enum SystemCapabilityNum {
KERNEL_LINUX,
KERNEL_LITEOS_A,
KERNEL_LITEOS_M,
LOCATION_LOCATION, // abandoned
MISCSERVICES_DOWNLOAD,
MISCSERVICES_INPUTMETHOD,
MISCSERVICES_PASTEBOARD,