Merge "Avoid double triggering assistant gesture haptic" into ub-launcher3-qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fcfac8156d
+1
-1
@@ -257,7 +257,7 @@ public class AssistantTouchConsumer extends DelegateInputConsumer
|
||||
|
||||
@Override
|
||||
public void onDragEnd(float velocity, boolean fling) {
|
||||
if (fling) {
|
||||
if (fling && !mLaunchedAssistant) {
|
||||
mLastProgress = 1;
|
||||
updateAssistant(FLING);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user