d4rken-org / sdmaid

SD Maid is an Android app that helps you manage files and apps.
https://play.google.com/store/apps/details?id=eu.thedarken.sdm
1.52k stars 751 forks source link

Android TV 12 Android/data #5787

Open Tbo29 opened 2 years ago

Tbo29 commented 2 years ago

Android TV 12 has made the directory /Android/data/ not accessible anymore. There's actually no workaround as there is no internal files app which can use the SAF

Now SD Maid after each start asks for permission to this directory which of course cannot be given. It should not asked each time the application starts. Furthermore I must run it twice to clean the cache from all apps. This happens on the Chromecast with Google TV which has been recently updated to Android TV 12 from 10.

d4rken commented 1 year ago

Is this the case for all Android 12 TV devices?

IntelCorei5-8350u commented 1 year ago

Is this the case for all Android 12 TV devices?

All Google certified Android TV devices do not come with SAF, except the Nvidia Shield series. Android TV is severely more limited than the normal one for Smartphones.

I'm having a look into this program after the deletion from Play Store sparking discussion in local forums, so I have no experience using SD Maid in general. A good application, I have heard.

d4rken commented 1 year ago

except the Nvidia Shield series

That's an interesting point, so permission setup check should be ammended.

if(!isAndroidTV() || isNvidiaShield()) doSAFSetup()

:thinking: