gpstest icon indicating copy to clipboard operation
gpstest copied to clipboard

Accuracy: Allow long-running background tests

Open barbeau opened this issue 3 years ago • 6 comments

Is your feature request related to a problem? Please describe. After background service implementation in https://github.com/barbeau/gpstest/pull/550, currently Accuracy mode data is still contained in the Activity. So, if you put the Activity in the background it will eventually be killed, which destroys the test data even if the service and flows are still active.

Describe the solution you'd like Allow long-running tests in the background when the screen isn't visible. This requires moving the accuracy data into the repo layer so it's retained while the service is running, even if the Activity is destroyed.

barbeau avatar Nov 11 '21 00:11 barbeau

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar May 30 '22 02:05 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Dec 16 '22 21:12 stale[bot]

Random thought - Could the phantom process killer "feature" added in Android 12(?) be related here? (I know that it was kind of a huge problem for termux ....... https://github.com/termux/termux-app/issues/2366)

danieldjewell avatar May 27 '23 18:05 danieldjewell

@danieldjewell Good thought, but this specific issue is a design upgrade that I havent done yet (moving the data outside the Activity lifecycle).

It's certainly possible that the phantom process killer could be an issue with GPSTest v3.10.2 running/logging in the background on some devices, but I havent seen any complaints yet. If anyone has a complaint, let's track that as a new issue.

barbeau avatar Jun 06 '23 03:06 barbeau

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

stale[bot] avatar Dec 23 '23 06:12 stale[bot]

Not stale

barbeau avatar Dec 23 '23 14:12 barbeau