commit | e9ad19e8f80b511c171194c801e4df2a299cf4c9 | [log] [tgz] |
---|---|---|
author | Vlad Popa <pvlad@google.com> | Mon Jun 26 18:52:59 2023 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Dec 06 22:43:40 2023 +0000 |
tree | 2e534be3a0fd53dd225cafae35f3040b79726de7 | |
parent | eb7f3a60801e31eef0719444c39574d89ac8ed39 [diff] |
Refactor the SADeviceState to AdiDeviceState The idea is to have a device state catalog for all the known devices. Also refactored the name of the Settings.Secure key entry for persistence. The current code will check the legacy key first, erase it and update the new key. Test: atest SpatializerHelperTest & AudioDeviceBrokerTest Bug: 278265907 Bug: 285588444 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:41f08b8d70260839a96d1ebb412eb8766b386b76) Merged-In: Idabcc84cb0f5f6f88ba5aebc435511ab95016ef3 Change-Id: Idabcc84cb0f5f6f88ba5aebc435511ab95016ef3