Skip to content

Commit

Permalink
ANDROID: We are not a text editor
Browse files Browse the repository at this point in the history
This was probably set to ensure onCreateInputConnection() gets called,
but it is regardless of this flag. Now the soft keyboard doesn't show
up on startup on devices without physical keyboard, which prevents
unnecessary surface changes.
  • Loading branch information
dhewg committed Feb 24, 2011
1 parent 53b5808 commit 0e9b4f3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ public EditableSurfaceView(Context context, AttributeSet attrs,

@Override
public boolean onCheckIsTextEditor() {
return true;
return false;
}

private class MyInputConnection extends BaseInputConnection {
Expand Down

0 comments on commit 0e9b4f3

Please sign in to comment.