From 9b883291b45408a9464a91b69ab4982194e5b555 Mon Sep 17 00:00:00 2001 From: zuojiaqi Date: Fri, 26 Jul 2024 14:37:13 +0800 Subject: [PATCH] delete unused import Signed-off-by: zuojiaqi --- .../src/main/ets/com/ohos/model/screenShotModel.ets | 4 ---- 1 file changed, 4 deletions(-) diff --git a/features/screenshot/src/main/ets/com/ohos/model/screenShotModel.ets b/features/screenshot/src/main/ets/com/ohos/model/screenShotModel.ets index ce9852e..6d8c2a3 100644 --- a/features/screenshot/src/main/ets/com/ohos/model/screenShotModel.ets +++ b/features/screenshot/src/main/ets/com/ohos/model/screenShotModel.ets @@ -17,9 +17,6 @@ import { BusinessError } from '@ohos.base'; import ScreenshotManager from '@ohos.screenshot'; import WindowMar from '@ohos.window'; import ImageMar from '@ohos.multimedia.image'; -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import FileIo from '@ohos.fileio'; -import display from '@ohos.display'; import Constants from '../common/constants'; import Log from '../../../../../../../../common/src/main/ets/default/Log'; import Want from '@ohos.app.ability.Want'; @@ -67,7 +64,6 @@ export class ScreenShotModel { const userFileMgr = userFileManager.getUserFileMgr(context); this.imageFileName = SCREENSHOT_PREFIX + '_' + (new Date()).getTime() + PICTURE_TYPE; Log.showInfo(TAG, `imageName: ${this.imageFileName}`); - Log.showInfo(TAG, `add: this is a test`); const packer = ImageMar.createImagePacker(); this.showWindow();