zhanghai / MaterialFiles

Material Design file manager for Android
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
GNU General Public License v3.0
6.03k stars 409 forks source link

Goes back to default directory #306

Closed contrapunctus-1 closed 4 years ago

contrapunctus-1 commented 4 years ago

If I switch away to another application, or open a file from Material Files and then tap Back to come back to it, Material Files opens with the default directory instead of the last directory open.

v1.1.1 from F-Droid, Android v9, Nokia 6.1, TA-1089

zhanghai commented 4 years ago

That usually means your system is over-aggressively killing apps that's not in the foreground. I cannot personally reproduce this and in fact never saw it during my daily usage.

contrapunctus-1 commented 4 years ago

It is quite likely (see https://dontkillmyapp.com/nokia ) Can Material Files try to work around it (maybe warning the user, too), for situations like mine where the user cannot even disable these power savers, let alone remove them?

zhanghai commented 4 years ago

I don't want to get involved into the endless battle of system killing apps and apps avoiding getting killed, especially when it's only done by certain misbehaving OEMs, because the code will be hacky and a burden for maintenance.

If the user realizes this is a problem, they need to find their own way to work around it on their own ROM.