mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +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:
parent
6b7c844df0
commit
27d6b729f0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user