mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-13 17:37:31 +00:00
chore(android): cleanup unused code
This commit is contained in:
parent
f18ba4d533
commit
ea8a08a1a7
1 changed files with 0 additions and 3 deletions
|
|
@ -11,7 +11,6 @@ import java.io.IOException;
|
|||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.Dialog;
|
||||
|
|
@ -320,9 +319,7 @@ public final class KMManager {
|
|||
*/
|
||||
public static void performLeftDeletions(InputConnection ic, int dn) {
|
||||
int originalBufferLength = dn*2 + 16; // characters
|
||||
//CharSequence desired = ic.getTextBeforeCursor(dn, 0);
|
||||
CharSequence charsBackup = ic.getTextBeforeCursor(originalBufferLength, 0);
|
||||
IntStream codePoints = charsBackup.codePoints();
|
||||
|
||||
// Count the number of surrogate pairs in this buffer, backwards from the end
|
||||
// until we reach dn codepoints.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue