]> hydra-www.ietfng.org Git - acmetensortoys-ctfws-android/commitdiff
MainServiceNotification: last source is NONE, not FLAG
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sat, 28 Sep 2019 14:24:29 +0000 (15:24 +0100)
committerNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sat, 28 Sep 2019 14:24:29 +0000 (15:24 +0100)
Prevent a "Flag caputred! 0 0" message

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

index 5fbe85ab0551dce24525216f30f4ca916cd70d57..8c1ed21e9913bcede8a068ccb11329c318099311 100644 (file)
@@ -271,7 +271,7 @@ class MainServiceNotification {
                 mService.bindService(new Intent(mService, MainService.class), userNoteSC,
                         Context.BIND_AUTO_CREATE);
             }
-            lastContextTextSource = LastContentTextSource.FLAG;
+            lastContextTextSource = LastContentTextSource.NONE;
             userNoteBuilder.setContentText(null);
             refreshNotification();
         }