From fb9727b9bc4ee8ffd3217dc7f1ec2ba6318332e8 Mon Sep 17 00:00:00 2001 From: duqingquan-jpc Date: Sat, 12 Nov 2022 19:39:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=AA=E5=B1=8F=E7=9B=91=E5=90=AC=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uts-screenshot-listener/utssdk/app-android/index.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uts-screenshot-listener/utssdk/app-android/index.uts b/uni_modules/uts-screenshot-listener/utssdk/app-android/index.uts index d52c980..7dba556 100644 --- a/uni_modules/uts-screenshot-listener/utssdk/app-android/index.uts +++ b/uni_modules/uts-screenshot-listener/utssdk/app-android/index.uts @@ -45,7 +45,7 @@ class ScreenFileObserver extends FileObserver { constructor(screenFile: string) { - super(screenFile) + super(new File(screenFile)) this.allScreen = new File(screenFile); } -- GitLab