Fix AudioManagerTest#testVolume
AudioManagerTest's testVolume does not take into account
config_masterVolumeRamp values. This makes the test fail on
Android devices with different config_masterVolumeRamp value
other than 1; indeed, currently it is set to 5 by
default. This CL fixes the issue.
Note: There seems to be a bug under Nexus 5 that
.adjustVolume(ADJUST_LOWER, 0) does not lower the volume by
delta (only by 1) even though ADJUST_RAISE does work. The
issue will be addressed in a separate bug.
Change-Id: I7d6988b0210102cc4f1bc2ee42d845208fefe40b
1 file changed