From 27d6b729f0f1cf9028026a532c51f69614671c70 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sat, 21 Jan 2012 07:44:28 +0000 Subject: [PATCH] DroidFish: Fixed problem with CPU notification not going away if program was previously killed by Android to free up memory. --- DroidFish/src/org/petero/droidfish/DroidFish.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DroidFish/src/org/petero/droidfish/DroidFish.java b/DroidFish/src/org/petero/droidfish/DroidFish.java index ccaba57..dd76224 100644 --- a/DroidFish/src/org/petero/droidfish/DroidFish.java +++ b/DroidFish/src/org/petero/droidfish/DroidFish.java @@ -507,9 +507,9 @@ public class DroidFish extends Activity implements GUIInterface { @Override protected void onResume() { lastVisibleMillis = 0; - if (ctrl != null) { + if (ctrl != null) ctrl.setGuiPaused(false); - } + notificationActive = true; updateNotification(); setWakeLock(useWakeLock); super.onResume();