!119 沙箱内重复加密失败

Merge pull request !119 from 王力量/Setting_Weekly
This commit is contained in:
openharmony_ci 2024-02-07 08:01:46 +00:00 committed by Gitee
commit d7d0214030
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -110,6 +110,8 @@ export default class MainAbility extends UIExtensionAbility {
console.info(TAG, 'onSessionDestroy');
if (session === GlobalContext.load('session')) {
GlobalContext.store('session', '');
}
if (!(GlobalContext.load('requestIsFromSandBox') as boolean)) {
this.homeFeature.closeDLPFileHome(GlobalContext.load('uri'), (err: number) => {
if (err !== 0) {
console.error(TAG, 'closeDLPFile failed', err);