Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b308f1e8 authored by jiabin's avatar jiabin Committed by Android Build Coastguard Worker
Browse files

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
parent 34cc3745
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment