commit | bada1f5e01d3a41e33eeae73b23cb5cf0278977d | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Dec 03 16:20:10 2024 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Dec 05 17:11:26 2024 +0000 |
tree | cdbc15d5cfff06ff9604cd82e3d1bc2c28b34e34 | |
parent | 5d1e90cd612c54c2ca7aeea004c302ae0b22f8fd [diff] |
Fix parsing of legacy engine config XML files The change aosp/3020124 adds a requirement for having an 'id' field for product strategies. However, legacy XML configuration files lack it. In order to preserve compatibility, attempt to parse the string name of the strategy in order to assign it the corresponding id. Bug: 376030167 Test: atest audiopolicy_tests Change-Id: I57a69f0507ef0bd4d06957e69b3fbe81b7febf40