Android: Remove synchronized keywords from EmulationState

These methods are only being called from the GUI thread anyway...
This commit is contained in:
JosJuice 2021-08-08 14:56:07 +02:00
parent 3eb07e9772
commit 2cd09b8eb3

View File

@ -231,7 +231,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
this.temporaryStatePath = temporaryStatePath;
}
public synchronized void run(boolean isActivityRecreated)
public void run(boolean isActivityRecreated)
{
if (isActivityRecreated)
{
@ -264,7 +264,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
}
}
public synchronized void newSurface()
public void newSurface()
{
if (mRunWhenSurfaceIsValid)
{