Environment
Phone: Moto G7 Power
OS: LineageOS 16.0, 19.1 (LOS v. 16.0 is equivalent to stock Android 9, and v. 19.1 is equivalent to stock A12)
Reproduction steps
- Kill the app. Make sure it is not running in the foreground or recently backgrounded.
- Start the recording from the widget
- Hit the power button to lock the phone
- Unlock the phone
- Stop the recording using the widget (a toast appears saying "recording saved successfully")
- Open the app, check the recordings list and see that it is empty
- Tap the empty recordings list to make the recordings reappear
- Notice the latest recording is only 2 seconds long
- Play the latest recording to confirm it is only 2 sec long
see comment below for alternate reproduction steps (background process timeout)
How I use the app
I make recordings almost every day, and have been doing so with Simple VR for a while now. Usually my recordings are 20 to 30 min but I have gone much longer. I usually use the widget to quickly start capturing audio, and don't use my phone until I'm done. When finished, I unlock my phone, then I press the widget again to stop the recording. I rarely go back and check my recordings, so I assumed my recordings were successful since the widget stays orange until I finish the recording and press the widget again, then it turns back to white.
The bug
I believe there is a bug that stops the recording when the app goes to the background, when the display goes to sleep, or I hit the lock button on the side. I can tell because I just checked my recordings and saw that for the last month and a half, they are all very short, on average less than a minute and a half, some only a few seconds, and some of the files are empty! As I said before, I usually record for 20 mins or much longer. Sure enough, I listened to some of these short recordings and found that the recordings were cut off. I lost about 90 days of recordings! :(
Notable observations
This would also imply that the widget is misleading me into thinking my recorder was recording the whole time since it is still orange when I go to tap it again and end the recording. Usually I have to unlock my phone first, then I see the widget is still orange.
My list of recording files shows that this problem began on July 1, because I have long-length recordings up to June 30th.
Last week I updated my phone's OS from Lineage 16.0 to 19.1, so I had to reinstall the app. However, I just discovered this problem an hour ago so it must be related to the app, or at least not my OS.
bug