Merge "Fix long-press issue in RelativeTouchListener." into rvc-dev am: 8208ca5d05 am: 1f03d59f58 am: 57816941bf
Change-Id: I940bf1e668ee19947c706544187e82ac93b2941d
This commit is contained in:
@@ -115,7 +115,9 @@ abstract class RelativeTouchListener : View.OnTouchListener {
|
||||
|
||||
performedLongClick = false
|
||||
handler.postDelayed({
|
||||
performedLongClick = v.performLongClick()
|
||||
if (v.isLongClickable) {
|
||||
performedLongClick = v.performLongClick()
|
||||
}
|
||||
}, ViewConfiguration.getLongPressTimeout().toLong())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user