commit | 04d29986142ff9b2d2833e65232c6a6f3c777fd8 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Mon Sep 23 17:43:57 2024 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Tue Sep 24 15:40:48 2024 +0100 |
tree | 8de04bd31d9ac7730936afe390d74c36d5cd1a68 | |
parent | fa55e4a9500eab2cd2f13e33d3aa9a28eb4626da [diff] |
Fix flaky VibrationSettingsTest Update VibrationSettings to expose all listener and observers for testing. Change test class to use mocks for internal services, including activity manager singleton internal service, to avoid flakiness during test runs. Make all listener/observer tests deterministic by directly triggering them from the test class. Fix: 355216857 Test: VibrationSettingsTest Flag: EXEMPT refactor Change-Id: I7618b7894fa661d1e657c306557717979cbdedbf