commit | f17c31468c7751fc5e712eabd72655d4d67dda6f | [log] [tgz] |
---|---|---|
author | Raj Goparaju <rajgoparaju@google.com> | Thu Sep 28 11:30:37 2023 -0700 |
committer | Raj Goparaju <rajgoparaju@google.com> | Tue Nov 07 14:43:00 2023 -0800 |
tree | d9f00af5d5822b5b2a185c7060c05f7dd01b2da2 | |
parent | 10614f6487059a631cda474e820a6e6ff33e208d [diff] |
Refactor methods of FadeOutManager The target is to eventually make the FadeOutManager properties configurable. As a first step: 1. Update the interface to include common method calls 2. Use the interface instead of static methods 3. Convert synchronized methods to using lock object 4. Add new unit test for the class Bug: 186905459 Bug: 302870089 Test: atest -c --rerun-until-failure 1000 AudioFocusTest FadeOutManagerTest Change-Id: I00f7986ccfeeac690035d390e9aa1a1c87db61e7