Change long press timeout to use a factor of ViewConfiguration.getLongPressTimeout()
This way, if the default ViewConfiguration timeout changes, we will adjust accordingly. Bug: 113639506 Change-Id: Ic3b93311c8e8d8196db2850fa641ffc675a16fb2
This commit is contained in:
1 parent
1473b8e102
commit
2ca999cf1b
3 files changed
+10
-9
No files matched your search
@@ -272,8 +272,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
/**
|
||||
* Overrides the default long press timeout.
|
||||
*/
|
||||
public void setLongPressTimeout(int longPressTimeout) {
|
||||
mLongPressHelper.setLongPressTimeout(longPressTimeout);
|
||||
public void setLongPressTimeoutFactor(float longPressTimeoutFactor) {
|
||||
mLongPressHelper.setLongPressTimeoutFactor(longPressTimeoutFactor);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user