Gps timeout 2

onFinished gets called when the time left is 0

Also, he last call to onTick will actually be when millisUntilFinished is 1000 - onTick is called at every interval that you define, in this case 1000 ms.