corona-warn-companion-android
corona-warn-companion-android copied to clipboard
too many matching process interruptions
Now at 3 million diagnostic keys the matching takes very long. This is of course not optimal, but I can live with my device calculating for a while, I understand there are reasons why that is ( https://github.com/mh-/corona-warn-companion-android/issues/149 ) The real annoyance is having to "babysit" it during that increasing timespan:
- Start CWC
- wait
- touch to reset screenlock timer
- wait
- touch
- ...
- results
Problem 1: this requires continous active touching, otherwise often the screenlock turns on quite early, and the progress will be lost and cwc locks up. Problem 2: Alternative: screen split would enable to e.g. use other apps while calculating, but this does not work. cwc locks up Problem 3: Alternative put cwc into background, similar, but cwc locks up
When cwc locks up, it gets non-responsive, displays blank or the logo, and I need to go to task list and swipe it up.
Most optimal would be of course keep matching in background and just giving a notification upon finishing, but even very simple options would improve this situation a lot: e.g. keep screen on until calculation is finished? or pause and resume calculation?
a) which app release are you using?
b) are you aware that you can reduce the number of download days?
a) 2.3.2 from the playstore b) yes, I am aware. This does shorten the time, but the overall problem is not really solved.
Btw: Thanks a lot for the app! It really helped me to properly assess some situations.
This is really strange, because 2.3.2 includes https://github.com/mh-/corona-warn-companion-android/commit/41c0191937e229903665552cb1a48c22695d306c (android:keepScreenOn="true"
for the main activity), which should keep the screen active. During my tests, the screen saver did not kick in.
Indeed, as I tried it again just now, it doesn't kick in. ProbablyI mixed up the versions, as I played around with the git master to understand the behaviour before submitting the bug, and didn't re-test all of my problems with the new install. My bad :( The other problems with the crashes are still present though, but now at least I can leave it calculating unattended.
The other problems with the crashes are still present though, but now at least I can leave it calculating unattended.
I could confirm the crashes with a high day intervall. The matching with 3 Millions Keys cost a bunch of Power so as @mh already saifd try to decrease the intervall.
best regards