]> hydra-www.ietfng.org Git - acmetensortoys-ctfws-android/commitdiff
Set notification source for end of game
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sat, 27 Oct 2018 16:54:45 +0000 (17:54 +0100)
committerNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sun, 28 Oct 2018 00:55:59 +0000 (01:55 +0100)
The vibration pattern was erroneously inherited from whatever had come
before.

mobile/src/main/java/com/acmetensortoys/ctfwstimer/MainServiceNotification.java

index a1e21e1ab0f8978bb67642e1dc324f4df775b6ce..e9cd11582e333b0f1a90f9b015e8c8fb6f276219 100644 (file)
@@ -114,6 +114,7 @@ class MainServiceNotification {
 
                     // game no longer afoot
                     if (now.past) {
+                        notifyUserSomehow(NotificationSource.BREAK);
                         userNoteBuilder.setUsesChronometer(false);
                         userNoteBuilder.setShowWhen(false);
                         userNoteBuilder.setContentTitle(txt);