Commit 6c68359e authored by wanglei's avatar wanglei

...

parent e97dccde
...@@ -79,11 +79,13 @@ class CleanJunkActivity : BaseActivity<ActivityLayoutCleanJunkBinding>() { ...@@ -79,11 +79,13 @@ class CleanJunkActivity : BaseActivity<ActivityLayoutCleanJunkBinding>() {
if (checkStorePermission()) { if (checkStorePermission()) {
scanJunk() scanJunk()
} else { } else {
showGerPermission(desc = "", deny = { finishToMain() }, allow = { showGerPermission(
requestStorePermission(launcher) { desc = "This feature requires access to your storage to scan your files and clean up junk files and unused APK files. We will not transmit your data to any third-party service. Please grant permission so that we can provide you with better service.",
scanJunk() deny = { finishToMain() }, allow = {
} requestStorePermission(launcher) {
}) scanJunk()
}
})
} }
} }
......
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