diff options
author | François Gaffie <francois.gaffie@renault.com> | 2020-03-11 14:09:52 +0100 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2020-03-24 00:31:48 +0000 |
commit | 75702566e413c5822dbf85071142ceba473d29ff (patch) | |
tree | c4c4bc84d63dab621d0dca1eee2b612090cb2b5f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5d9a21a503a8f0b102fd96ecb442f3ad61680df6 (diff) |
Fix regression on voice call default volume
This CL fixes regression introduced by aosp/586122.
The fallback of default volume uses a temporary max volume which may
not be valid. (-1).
This CL uses the up to date AudioSystem.DEFAULT_STREAM_VOLUME instead.
This happens only if no "ro.config.vc_call_vol_default" property defined.
Bug: 152079599
Test: Ensure "ro.config.vc_call_vol_default" is not defined &&
dumpsys audio && ensure VOICE CALL default volume (aka for device 40000000)
is not zero.
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
Change-Id: I8937e54a61df196da8c2578f0a581b63dea34caa
Merged-In: I8937e54a61df196da8c2578f0a581b63dea34caa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions