Skip devices with multiple bits set.
aosp/1399204 added AUDIO_DEVICE_OUT_BLE_SPEAKER whose value is 0x20000001. The buildCommonTypesStructureFile.py didn't cover that kind of values and it caused audioserver crashed. This CL skips that kind of devices. A general solution (b/168065706) should be addressed in the configurable audio policy and parameter framework. BUG: 167745916 Test: Check PolicySubsystem-CommonTypes.xml and boot up device. Change-Id: Id802d37c18c4fd152a84a5a1579390b464c505f1
Loading
Please register or sign in to comment