Hi, I'm reading core/java/android/webkit/WebView.java, the following piece of code:
if (mShiftIsPressed == false && nativeFocusNodeWantsKeyEvents () == false && (keyCode == KeyEvent.KEYCODE_SHIFT_LEFT || keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT)) { mExtendSelection = false; mShiftIsPressed = true; if (nativeUpdateFocusNode()) { FocusNode node = mFocusNode; mSelectX = contentToView(node.mBounds.left); mSelectY = contentToView(node.mBounds.top); } else { mSelectX = mScrollX + (int) mLastTouchX; mSelectY = mScrollY + (int) mLastTouchY; } int contentX = viewToContent((int) mLastTouchX + mScrollX); int contentY = viewToContent((int) mLastTouchY + mScrollY); nativeClearFocus(contentX, contentY); } Since all other if case return true or false, shouldn't this case return true or something? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---