Open tingsu opened 4 years ago
This looks like a bug. Thanks for reporting!
This one seems to be what I also experience from time to time and I referred to it in https://github.com/ramack/ActivityDiary/issues/289#issuecomment-616800905. Thanks a lot for the clear steps to reproduce it. in Step 3) I'd say it is already wrong. If there is no current activity we should not show any photo.
I guess the root cause for non-detection could be that initially there was no possibility to terminate apps. My initial idea was to track everything, but even I ended up with a "default" "Nothing_I_want_to_track" activity which is one of the most often used activities in my diary... And even though I added the possibility to terminate the current activity I somehow did not yet get rid of the habit to select this activity when I just want to stop tracking the current one. So my personal testing depth is quite low for the terminated activities...
I have searched the history bug list, and have not found a similar bug.
The bug was found on the latest version 1.4.0. The bug can be reproduced on an Android emulator 6.0 and a Google Pixel 3 XL phone.
Cinema
and take a picCinema
to terminate it (we can see the pic is still there, is this correct?)Sleeping
to start it (we can see the pic is still there, this should be incorrect)