Merge "Fix long-press issue in RelativeTouchListener." into rvc-dev am: 8208ca5d05 am: 1f03d59f58
Change-Id: I0a6ebf61c117ff105c78e7d8456fcdaff578963e
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