mirror of
https://gitee.com/openharmony/distributeddatamgr_data_share
synced 2024-11-23 06:50:16 +00:00
feat: Code inconsistency issue
Signed-off-by: zwx1271681 <zhaoyupeng5@huawei.com>
This commit is contained in:
parent
940ff53cb1
commit
ee00d71d36
10
OAT.xml
10
OAT.xml
@ -52,15 +52,7 @@
|
||||
</filefilter>
|
||||
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
||||
<filteritem type="filepath" name="figures/zh-cn_dataShare.png" desc="self developed image"/>
|
||||
<filteritem type="filepath"
|
||||
name="test/native/resource/datashare_ext_bundle/entry/src/main/resources/base/media/icon.png"
|
||||
desc="self developed image"/>
|
||||
<filteritem type="filepath"
|
||||
name="test/native/resource/datashareproxy_bundle/proxydatas_with_permission/entry/src/main/resources/base/media/icon.png"
|
||||
desc="self developed image"/>
|
||||
<filteritem type="filepath"
|
||||
name="test/native/resource/errorcode_ext_bundle/entry/src/main/resources/base/media/icon.png"
|
||||
desc="self developed image"/>
|
||||
<filteritem type="filepath" name="test/native/resource/.*.png" desc="self developed image"/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
</oatconfig>
|
||||
|
@ -19,8 +19,8 @@
|
||||
#include "napi_common_data.h"
|
||||
|
||||
namespace OHOS::DataShare {
|
||||
AsyncCall::AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context)
|
||||
: env_(env)
|
||||
__attribute__((no_sanitize("undefined"))) AsyncCall::AsyncCall(napi_env env, napi_callback_info info,
|
||||
std::shared_ptr<Context> context) : env_(env)
|
||||
{
|
||||
context_ = new AsyncContext();
|
||||
size_t argc = ARGS_MAX_COUNT;
|
||||
|
Loading…
Reference in New Issue
Block a user