Controls UI - Do not throttle drag events am: 4a28e3e8cc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316327

Change-Id: I5edb87dab33a1cac2c817de89d30719e9cf69eb2
This commit is contained in:
Matt Pietal
2020-08-05 14:06:27 +00:00
committed by Automerger Merge Worker

View File

@@ -92,7 +92,7 @@ class ControlActionCoordinatorImpl @Inject constructor(
override fun setValue(cvh: ControlViewHolder, templateId: String, newValue: Float) { override fun setValue(cvh: ControlViewHolder, templateId: String, newValue: Float) {
bouncerOrRun(Action(cvh.cws.ci.controlId, { bouncerOrRun(Action(cvh.cws.ci.controlId, {
cvh.action(FloatAction(templateId, newValue)) cvh.action(FloatAction(templateId, newValue))
}, true /* blockable */)) }, false /* blockable */))
} }
override fun longPress(cvh: ControlViewHolder) { override fun longPress(cvh: ControlViewHolder) {