@@ -72,13 +71,13 @@ class WebDownloadManagerActivity : BaseActivity<ActivityWebDownloadManagerBindin
...
@@ -72,13 +71,13 @@ class WebDownloadManagerActivity : BaseActivity<ActivityWebDownloadManagerBindin
if(checkStorePermission()){
if(checkStorePermission()){
initData()
initData()
}else{
}else{
showGerPermission(
// showGerPermission(
desc="This feature requires access to your storage to manage your downloads. We will not transfer your data to any third-party services. Please grant permission so that we can provide you with better services.",
// desc = "This feature requires access to your storage to manage your downloads. We will not transfer your data to any third-party services. Please grant permission so that we can provide you with better services.",
@@ -117,15 +116,15 @@ class MediaBrowserActivity : BaseActivity<ActivityMediaBrowserBinding>() {
...
@@ -117,15 +116,15 @@ class MediaBrowserActivity : BaseActivity<ActivityMediaBrowserBinding>() {
binding.rv.adapter=adapter
binding.rv.adapter=adapter
if(!checkStorePermission()){
// if (!checkStorePermission()) {
showGerPermission(
// showGerPermission(
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.",
// 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.",
@@ -85,49 +83,66 @@ class FileFragment : BaseFragment<FragmentFileBinding>() {
...
@@ -85,49 +83,66 @@ class FileFragment : BaseFragment<FragmentFileBinding>() {
super.setListener()
super.setListener()
binding.llPermission.setOnClickListener{
binding.llPermission.setOnClickListener{
requireContext().showGerPermission(
// requireContext().showGerPermission(
desc="This feature requires access to your storage to scan your files and summarize your file types. We will not transfer your data to any third-party services. Please grant permission so that we can provide you with better services.",
// desc = "This feature requires access to your storage to scan your files and summarize your file types. We will not transfer your data to any third-party services. Please grant permission so that we can provide you with better services.",
deny={},allow={
// deny = {}, allow = {
// val launcher = (requireActivity() as MainActivity).launcher