Closed GoogleCodeExporter closed 9 years ago
I have not tried to debug this but what I think is happening is that we try to
schedule the announcer before starting recording. I think that we should
change the following line:
private void setUpAnnouncer() {
if (announcementFrequency != -1) {
to
if (announcementFrequency != -1 && recordingTrackId != -1) {
Original comment by sandordo...@google.com
on 10 Nov 2010 at 5:03
Ah, this bug is related to a clean up I did before. In the past, TripStats
would be set in constructor, and would have some stale data. We always call
setUpAnnouncer, regardless if we are recording or not.
Let me take on this bug. As discussed offline, I would like to create a more
sophisticated functional unit test for the service in general.
Basically, for each shared preference, we will use 3 values (default, not set,
and an arbitrary value). Then, we will end up with 3*N combinations. For each
combination, I want to run a simple test that starts/stops and calls a few
methods on the service while running.
Original comment by ba...@google.com
on 10 Nov 2010 at 6:54
Please review:
http://code.google.com/r/bartn-mytracks/source/detail?r=1846c7fa79f2328c4a300b36
5b354a1e3f3301c6
Original comment by ba...@google.com
on 11 Nov 2010 at 8:34
Please review:
http://code.google.com/r/bartn-mytracks/source/detail?r=8a4e3630f002c9ce8f3bd21c
4857c4ea076158c2
Original comment by ba...@google.com
on 11 Nov 2010 at 6:56
Original comment by sandordo...@google.com
on 16 Nov 2010 at 5:38
Original issue reported on code.google.com by
sandordo...@google.com
on 10 Nov 2010 at 4:00Attachments: