commit | f1f400f47d3bb8875324c7ca320020dc98512d03 | [log] [tgz] |
---|---|---|
author | Juan Sebastian Martinez <juansmartinez@google.com> | Wed Mar 13 10:57:04 2024 -0700 |
committer | Juan Sebastian Martinez <juansmartinez@google.com> | Thu Mar 14 08:06:06 2024 -0700 |
tree | f2e22faea41fec292a6d19c806465794c63693b6 | |
parent | 6ad912ae3a34f34c621ceeab342c471cc16bcd7a [diff] |
Checking that the long-press effect has a positve duration before initializing and binding The QSTile State reports the duration of the effect so it can be used by the tile to initialize a visuo-haptic long-press effect. The effect gets created and initialized only if the duration is positive. Test: atest SystemUITests:QSTileViewImplTest Flag: ACONFIG quick_settings_visual_haptics_longpress DEVELOPMENT Bug: 329405539 Change-Id: I4c072a29a0a91b857ae408f8f79eab259c68970f