exzhawk / EhViewer

A Modified Unofficial E-Hentai Application for Android
https://blog.exz.me/post/ehviewer-mod/
Apache License 2.0
363 stars 21 forks source link

Crash on returning to any previous activity that is not kept in RAM (caused by commit 5671c8a) #30

Open RadarNyan opened 1 month ago

RadarNyan commented 1 month ago

As stated in the title, the most common way for this bug to occur on me is reopening the app after it's been left in the background for a while. To reproduce this bug, turn on "Don't keep activities" in developer settings, and then you can expect crashes every time you return to a previous activity within the app.

I'm not experienced enough to track down the root cause, but by going through old versions, I've found that this bug first appeared in version 1.7.13, so I tried to revert the only commit 5671c8a after version 1.7.12, and the bug went away.