!26 按模块名自动分配资源ID缺陷

Merge pull request !26 from 陈程/master
This commit is contained in:
openharmony_ci
2022-05-09 07:38:05 +00:00
committed by Gitee
+1 -1
View File
@@ -123,7 +123,7 @@ uint32_t ResourcePack::InitModule()
}
int32_t startId = ((it - moduleNames.begin()) + 1) * 0x01000000;
if (startId == 0x07000000) {
if (startId >= 0x07000000) {
startId = startId + 0x01000000;
}
return idWorker.Init(hapType, startId);