IssueNo:#I4ZODU:remove const

Description:remove const
Sig:SIG_ApplicaitonFramework
Feature or Bugfix:BugFix
Binary Source:No
Signed-off-by: wangtiantian <wangtiantian19@huawei.com>
This commit is contained in:
wangtiantian
2022-03-31 11:02:45 +08:00
parent 076db9379f
commit cb869201db
2 changed files with 2 additions and 2 deletions
@@ -45,7 +45,7 @@ extern "C" {
* @since 9
* @version 1.0
*/
const char* OH_NativeBundle_GetAppIdByBundleName(const char *bundleName);
char* OH_NativeBundle_GetAppIdByBundleName(const char* bundleName);
#ifdef __cplusplus
};
@@ -69,7 +69,7 @@ sptr<IBundleMgr> BundleNative::GetBundleMgr()
} // AppExecFwk
} // OHOS
const char* OH_NativeBundleMgr_GetAppIdByBundleName(const char *bundleName)
char* OH_NativeBundle_GetAppIdByBundleName(const char* bundleName)
{
if (bundleName == nullptr) {
APP_LOGE("bundleName is nullptr");