Merge "Cleanup indentation" into jb-dev
This commit is contained in:
commit
684c519d9d
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ public class EditingUtils {
|
||||||
|
|
||||||
private static int getCursorPosition(InputConnection connection) {
|
private static int getCursorPosition(InputConnection connection) {
|
||||||
if (null == connection) return INVALID_CURSOR_POSITION;
|
if (null == connection) return INVALID_CURSOR_POSITION;
|
||||||
ExtractedText extracted = connection.getExtractedText(
|
final ExtractedText extracted = connection.getExtractedText(new ExtractedTextRequest(), 0);
|
||||||
new ExtractedTextRequest(), 0);
|
|
||||||
if (extracted == null) {
|
if (extracted == null) {
|
||||||
return INVALID_CURSOR_POSITION;
|
return INVALID_CURSOR_POSITION;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue