mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-26 15:29:19 +00:00
superstitiously remove synchronization of overridden lifecycle method
This commit is contained in:
parent
b5de4222c3
commit
339d037d4e
@ -176,10 +176,13 @@ public class Apple2Activity extends Activity {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected synchronized void onPause() {
|
||||
protected void onPause() {
|
||||
super.onPause();
|
||||
|
||||
mPausing.set(true);
|
||||
boolean wasPausing = mPausing.getAndSet(true);
|
||||
if (wasPausing) {
|
||||
return;
|
||||
}
|
||||
|
||||
Log.d(TAG, "onPause()");
|
||||
mView.onPause();
|
||||
|
Loading…
Reference in New Issue
Block a user