提交 1a42f0e3 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: uts-progressNotification 去除Android34的过时警告

上级 80072e8e
## 1.0.9(2024-02-29)
去除代码过时警告
## 1.0.8(2023-12-21) ## 1.0.8(2023-12-21)
去除app-ios目录 去除app-ios目录
## 1.0.7(2023-12-11) ## 1.0.7(2023-12-11)
......
{ {
"id": "uts-progressNotification", "id": "uts-progressNotification",
"displayName": "uts-progressNotification", "displayName": "uts-progressNotification",
"version": "1.0.8", "version": "1.0.9",
"description": "uts-progressNotification", "description": "uts-progressNotification",
"keywords": [ "keywords": [
"uts-progressNotification" "uts-progressNotification"
......
...@@ -11,8 +11,9 @@ import { ACTION_DOWNLOAD_FINISH, ACTION_DOWNLOAD_PROGRESS } from "./constant.uts ...@@ -11,8 +11,9 @@ import { ACTION_DOWNLOAD_FINISH, ACTION_DOWNLOAD_PROGRESS } from "./constant.uts
export class TransparentActivity extends Activity { export class TransparentActivity extends Activity {
constructor() { constructor() {
super() super()
} }
@Suppress("DEPRECATION")
override onCreate(savedInstanceState : Bundle | null) { override onCreate(savedInstanceState : Bundle | null) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
this.fullScreen(this) this.fullScreen(this)
...@@ -58,4 +59,4 @@ export class TransparentActivity extends Activity { ...@@ -58,4 +59,4 @@ export class TransparentActivity extends Activity {
} }
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册