mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-19 01:10:57 -08:00
Eliminate some redundant synchronization on Android
* java/org/gnu/emacs/EmacsService.java (resetIC): Return on all versions of Android if the connection need not be reset. * java/org/gnu/emacs/EmacsView.java (getICMode, setICMode): Remove needless synchronization.
This commit is contained in:
parent
bac8a70f45
commit
677f082b0f
2 changed files with 15 additions and 7 deletions
|
|
@ -891,13 +891,13 @@ public final class EmacsView extends ViewGroup
|
|||
return true;
|
||||
}
|
||||
|
||||
public synchronized void
|
||||
public void
|
||||
setICMode (int icMode)
|
||||
{
|
||||
this.icMode = icMode;
|
||||
}
|
||||
|
||||
public synchronized int
|
||||
public int
|
||||
getICMode ()
|
||||
{
|
||||
return icMode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue