mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
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:
@@ -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