DroidFish: Fixed problem with CPU notification not going away if program was previously killed by Android to free up memory.

This commit is contained in:
Peter Osterlund 2012-01-21 07:44:28 +00:00
parent 6b7c844df0
commit 27d6b729f0

View File

@ -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();