commit | 8ad161c7baf60cc516131ff642b845866c2724e2 | [log] [tgz] |
---|---|---|
author | Holly Sun <jiuyu@google.com> | Tue Mar 19 00:29:56 2024 +0000 |
committer | Holly Sun <jiuyu@google.com> | Wed Apr 03 21:25:08 2024 +0000 |
tree | 7bf6289b93b630eeb48530d319cd885daf2eb6e0 | |
parent | ab57e5b3e95d52b9b49d27927886ed881618dac0 [diff] |
[omni] Make LPH duration and touch slop dynamically configured. The override duration and slop multiplier can be set from Launcher. Pass this value from launcher to sysui through SystemUiProxy. The logic for touch slop follows NavHandleLongPressInputConsumer (https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/NavHandleLongPressInputConsumer.java;l=116). Bug: 330446188 Bug: 330444720 Bug: 311356563 Test: manual Flag: legacy OVERRIDE_LPNH_LPH_THRESHOLDS disabled Change-Id: Ifd22a1070837c09631f8177aeee499cfbbb15f6e