Signed-off-by: 王永忠 <wangyongzhong2@huawei.com>
This commit is contained in:
王永忠 2024-10-28 10:34:14 +00:00 committed by Gitee
parent 0a8adf24c0
commit f244a776a7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -749,7 +749,7 @@ export default class ViewAbility extends ServiceExtensionAbility {
let paramCallerBundleName = want.parameters?.['ohos.aafwk.param.callerBundleName'] as string;
AppStorage.setOrCreate('paramCallerBundleName', paramCallerBundleName);
let pluginId: string = (want.parameters?.['DlpConnectionPluginId'] as DlpConnectionPluginIdObj)?.id;
let pluginId: string = (want.parameters?.['dlpConnectionPluginId'] as DlpConnectionPluginIdObj)?.id;
if (pluginId === null || pluginId === undefined) {
return true;
}