Audio is not get notification for volume change 0%
mLastRequestedVolume is cached volume from
DUT when accept response is not came for
last volume change.
When accept response will come if
mLastRequestedVolume has some valid volume then
again it will send setVolume with cached volume
and mLocalVolume will remain same, so when
volume change from 0 to some value then again
change to 0, mLocalVolume will not update because
response volume and mLocalvolume both will same.
Now updating mLocalVolume when accept resp will
come and mLastRequestedVolume volume has some valid
value.
Resetting mLastRequestedVolume when notifying to
audio.
CRs-Fixed: 2345996
Change-Id: I534dc4ff240db7ee778289b02b22d71e0b640409
1 file changed