From ec76fc22901f133ab4b2592c2a51c08407e166de Mon Sep 17 00:00:00 2001 From: hlzhangaj Date: Wed, 16 Apr 2025 03:09:41 +0000 Subject: [PATCH 1/2] 20 Signed-off-by: hlzhangaj --- build-profile.json5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-profile.json5 b/build-profile.json5 index 399ad9a..3960d81 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -19,9 +19,9 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 18, - "compatibleSdkVersion": 18, - "targetSdkVersion": 18, + "compileSdkVersion": 20, + "compatibleSdkVersion": 20, + "targetSdkVersion": 20, "runtimeOS": "OpenHarmony" } ] -- Gitee From 8b5b11a970bd1c7f5f7620624b970ed0ab27700e Mon Sep 17 00:00:00 2001 From: fanchenxuan Date: Tue, 20 May 2025 14:35:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BC=BA=E5=9F=BA=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fanchenxuan --- .../src/main/ets/ServiceExtAbility/GrantDialogModel.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/permissionmanager/src/main/ets/ServiceExtAbility/GrantDialogModel.ets b/permissionmanager/src/main/ets/ServiceExtAbility/GrantDialogModel.ets index 619499a..6f0f1aa 100644 --- a/permissionmanager/src/main/ets/ServiceExtAbility/GrantDialogModel.ets +++ b/permissionmanager/src/main/ets/ServiceExtAbility/GrantDialogModel.ets @@ -294,7 +294,7 @@ export class GrantDialogModel extends BaseModel { let systemPasteboardDataSource: string = ''; try { let systemPasteboard: pasteboard.SystemPasteboard = pasteboard.getSystemPasteboard(); - let data: string = systemPasteboard.getDataSource(); + let data = systemPasteboard.getDataSource(); systemPasteboardDataSource = data || ''; } catch (error) { Log.error(`getSystemPasteboard faild, code: ${error.code}, message: ${error.message}.`); -- Gitee