commit | 75b3586731c0be73fa7630b3f5201cff1be57da3 | [log] [tgz] |
---|---|---|
author | Juan Sebastian Martinez <juansmartinez@google.com> | Wed Oct 30 08:25:49 2024 -0700 |
committer | Juan Sebastian Martinez <juansmartinez@google.com> | Thu Oct 31 09:45:38 2024 -0700 |
tree | dd64ce5f7588862ae4d767778ec1f1af189ff6ba | |
parent | ae63222f95585a2048be91bb128558472221bfd9 [diff] |
Creating volume slider haptics view-models on non-empty states. When the slider state is empty, we don't create a view-model to avoid erroneous haptics due to an invalid slider range. Test: manual. Verified that haptics behave correctly when an empty slider state is used to compose the UI. Verification via manual sensation and via the systemui dumpsys. Flag: com.android.systemui.haptics_for_compose_sliders Bug: 376333545 Change-Id: I4c502f9417e2cd73fb8b3f702d2a52fb9b0af788