mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-08-15 05:27:32 +00:00
superstitiously remove synchronization of overridden lifecycle method
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user