未验证 提交 df7c96b8 编写于 作者: O openharmony_ci 提交者: Gitee

!817 修改apiversion=9

Merge pull request !817 from Mupceet/initapi
......@@ -55,4 +55,3 @@ const.product.build.host=default
const.product.build.date=default
const.product.hardwareprofile=default
const.ohos.buildroothash=default
const.ohos.sdkapilevel=8
......@@ -12,5 +12,5 @@
# limitations under the License.
const.ohos.version.security_patch=2022-03-30
const.ohos.releasetype=Canary1
const.ohos.apiversion=8
const.ohos.apiversion=9
const.ohos.fullname=OpenHarmony-2.2.0.0
\ No newline at end of file
......@@ -78,7 +78,7 @@ static void BootchartLogHeader(void)
char release[PARAM_VALUE_LEN_MAX] = {};
uint32_t len = sizeof(release);
(void)SystemReadParam("hw_sc.build.os.releasetype", release, &len);
(void)SystemReadParam("const.ohos.releasetype", release, &len);
char *cmdLine = ReadFileToBuffer("/proc/cmdline", g_bootchartCtrl->buffer, g_bootchartCtrl->bufferSize);
PLUGIN_CHECK(cmdLine != NULL, return, "Failed to open file /data/bootchart/header");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册