commit | aaa70b8434d8715a4e4cebbe476ea3c208eaf740 | [log] [tgz] |
---|---|---|
author | Yao Chen <yaochen@google.com> | Wed Aug 16 16:03:41 2017 -0700 |
committer | Yao Chen <yaochen@google.com> | Thu Aug 17 09:59:44 2017 -0700 |
tree | d54adb358be967625193bfa6f2b4e3c9ccc47ee3 | |
parent | b64d5080e26af98c8f30eb87da7ab0b1a8679a04 [diff] |
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