Android: Remove synchronized keywords from EmulationState
These methods are only being called from the GUI thread anyway...
This commit is contained in:
1 parent
3eb07e9772
commit
2cd09b8eb3
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user