mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-20 20:52:18 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user