mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Update Android port
* java/org/gnu/emacs/EmacsInputConnection.java (EmacsInputConnection): Add compatibility adjustments for Samsung devices.
This commit is contained in:
parent
ce238de2b1
commit
9a958c59a2
|
|
@ -65,6 +65,13 @@ public final class EmacsInputConnection extends BaseInputConnection
|
|||
if (Build.MANUFACTURER.equalsIgnoreCase ("Huawei")
|
||||
|| Build.MANUFACTURER.equalsIgnoreCase ("Honor"))
|
||||
extractAbsoluteOffsets = syncAfterCommit = true;
|
||||
|
||||
/* The Samsung keyboard takes `selectionStart' at face value if
|
||||
some text is returned, and also searches for words solely
|
||||
within that text. However, when no text is returned, it falls
|
||||
back to getTextAfterCursor and getTextBeforeCursor. */
|
||||
if (Build.MANUFACTURER.equalsIgnoreCase ("Samsung"))
|
||||
extractAbsoluteOffsets = true;
|
||||
};
|
||||
|
||||
public
|
||||
|
|
|
|||
Loading…
Reference in a new issue