am 0aadeca6: Merge "Partial rollback of I9ebc92dc"
* commit '0aadeca6cc05367faae1eacda6be580df41c17ee': Partial rollback of I9ebc92dc
This commit is contained in:
@@ -4007,12 +4007,9 @@ public class WebView extends AbsoluteLayout
|
||||
// state.
|
||||
// If mNativeClass is 0, we should not reach here, so we do not
|
||||
// need to check it again.
|
||||
if (mDrawCursorRing && drawRings) {
|
||||
// Only update if we are actually going to use the result
|
||||
nativeRecordButtons(hasFocus() && hasWindowFocus(),
|
||||
mTouchMode == TOUCH_SHORTPRESS_START_MODE
|
||||
|| mTrackballDown || mGotCenterDown, false);
|
||||
}
|
||||
nativeRecordButtons(hasFocus() && hasWindowFocus(),
|
||||
(mTouchMode == TOUCH_SHORTPRESS_START_MODE && !USE_WEBKIT_RINGS)
|
||||
|| mTrackballDown || mGotCenterDown, false);
|
||||
drawCoreAndCursorRing(canvas, mBackgroundColor,
|
||||
mDrawCursorRing && drawRings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user