Initialize AudioDeviceAttributes with native type when restoring.
When constructing AudioDeviceAttributes, if only external device type is used, it may not be the same internal native type when converting from external type. The reason is that one external type may map to multiple internal types. Bug: 444372896 Test: kill audioserver, check dumpsys audio policy Flag: EXEMPT BUGFIX Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:796d8207ec47f5bf0f36610d5da22e7b425447d9 Merged-In: I448ad38715eef0aca0a9a8d62ce630bad56699d8 Change-Id: I448ad38715eef0aca0a9a8d62ce630bad56699d8
Loading
Please register or sign in to comment