am f348502c: Merge "Allow TextView to do its thing." into gingerbread
Merge commit 'f348502c70ae2f3c90bf75d8c4b4402d5e8e4d59' into gingerbread-plus-aosp * commit 'f348502c70ae2f3c90bf75d8c4b4402d5e8e4d59': Allow TextView to do its thing.
This commit is contained in:
@@ -519,6 +519,7 @@ import java.util.ArrayList;
|
||||
return false;
|
||||
case MotionEvent.ACTION_UP:
|
||||
case MotionEvent.ACTION_CANCEL:
|
||||
super.onTouchEvent(event);
|
||||
if (mHasPerformedLongClick) {
|
||||
mGotTouchDown = false;
|
||||
return false;
|
||||
@@ -684,9 +685,6 @@ import java.util.ArrayList;
|
||||
// webkit's drawing.
|
||||
setWillNotDraw(!inPassword);
|
||||
setBackgroundDrawable(inPassword ? mBackground : null);
|
||||
// For non-password fields, avoid the invals from TextView's blinking
|
||||
// cursor
|
||||
setCursorVisible(inPassword);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user