!129 整改SDK中syscap定义域部件不一致问题

Merge pull request !129 from 周士成/master
This commit is contained in:
openharmony_ci
2022-08-12 02:44:57 +00:00
committed by Gitee
+17
View File
@@ -204,10 +204,19 @@ typedef enum SystemCapabilityNum {
MULTIMEDIA_CAMERA_CORE,
BARRIERFREE_ACCESSIBILITY_HEARING,
BARRIERFREE_ACCESSIBILITY_VISION,
ABILITY_ABILITYBASE,
ABILITY_ABILITYRUNTIME_CORE,
ABILITY_ABILITYRUNTIME_FAMODEL,
ABILITY_ABILITYRUNTIME_ABILITYCORE,
ABILITY_ABILITYRUNTIME_MISSION,
ABILITY_ABILITYTOOLS_ABILITYASSISTANT,
ABILITY_DISTRIBUTEDABILITYMANAGER,
ABILITY_FORM,
// Add here
SYSCAP_NUM_MAX = 960
} SyscapNum;
/* sort by enum */
const static SyscapWithNum g_arraySyscap[] = {
{"SystemCapability.Account.AppAccount", ACCOUNT_APPACCOUNT},
@@ -381,6 +390,14 @@ const static SyscapWithNum g_arraySyscap[] = {
{"SystemCapability.Multimedia.Audio.Volume", MULTIMEDIA_AUDIO_VOLUME},
{"SystemCapability.Multimedia.Audio.Communication", MULTIMEDIA_AUDIO_COMMUNICATION},
{"SystemCapability.Multimedia.Camera.Core", MULTIMEDIA_CAMERA_CORE},
{"SystemCapability.Ability.AbilityBase", ABILITY_ABILITYBASE},
{"SystemCapability.Ability.AbilityRuntime.Core", ABILITY_ABILITYRUNTIME_CORE},
{"SystemCapability.Ability.AbilityRuntime.FAModel", ABILITY_ABILITYRUNTIME_FAMODEL},
{"SystemCapability.Ability.AbilityRuntime.AbilityCore", ABILITY_ABILITYRUNTIME_ABILITYCORE},
{"SystemCapability.Ability.AbilityRuntime.Mission", ABILITY_ABILITYRUNTIME_MISSION},
{"SystemCapability.Ability.AbilityTools.AbilityAssistant", ABILITY_ABILITYTOOLS_ABILITYASSISTANT},
{"SystemCapability.Ability.DistributedAbilityManager", ABILITY_DISTRIBUTEDABILITYMANAGER},
{"SystemCapability.Ability.Form", ABILITY_FORM},
};
#endif // _SYSCAP_DEFINE_H