Cherry-pick and manually resolved the conflicts.
Note that this is a cherry-pick of ag/2745105 and there is no intent to
modify the original CL except for conflicts resolving.
Map the VehicleAudioContextFlag.UNKNOWN_FLAG to current context.
+ When vehicle hal is reporting volume change on unknown context, we
will map it to the current context. This makes partner's
implementation easier and our volume handling more robust.
+ Added test.
Bug: 62064580
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarVolumeServiceTest.java
Change-Id: I488967e48e96f15f0094337282ef0b6f25465754
2 files changed