Commit af6002c7 authored by wanglei's avatar wanglei

提交现在

parent c58a0a31
...@@ -414,9 +414,9 @@ class AppManagerActivity : BaseActivity<ActivityAppManagerBinding>() { ...@@ -414,9 +414,9 @@ class AppManagerActivity : BaseActivity<ActivityAppManagerBinding>() {
}) })
if (!flag) { if (!flag) {
unInstall.remove(appBean)
unInstalled.add(appBean) unInstalled.add(appBean)
} }
unInstall.remove(appBean)
if (unInstall.isNotEmpty()) { if (unInstall.isNotEmpty()) {
val next = unInstall[0] val next = unInstall[0]
......
...@@ -175,11 +175,14 @@ class LargeFileCleanActivity : BaseActivity<ActivityLayoutLargeFileBinding>() { ...@@ -175,11 +175,14 @@ class LargeFileCleanActivity : BaseActivity<ActivityLayoutLargeFileBinding>() {
playLottie() playLottie()
} }
} }
var isplay = 0
override fun onPermissionsResult(isGranted: Boolean) { override fun onPermissionsResult(isGranted: Boolean) {
super.onPermissionsResult(isGranted) super.onPermissionsResult(isGranted)
if (isGranted) { if (isGranted) {
isplay += 1
if (isplay == 1) {
playLottie() playLottie()
}
initList() initList()
} else { } else {
finishToMain() finishToMain()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment