Comply with the volume callback change

Bug: 109841417
Test: m -j
Change-Id: I43a139b97f89a666088db39579b068dc76babd56
This commit is contained in:
Hongwei Wang
2018-06-07 12:35:08 -07:00
committed by Lin Guo
parent f55cce3008
commit c8cdc59322

View File

@@ -527,7 +527,7 @@ public class CarVolumeDialogImpl implements VolumeDialog {
private final ICarVolumeCallback mVolumeChangeCallback = new ICarVolumeCallback.Stub() {
@Override
public void onGroupVolumeChanged(int groupId) {
public void onGroupVolumeChanged(int groupId, int flags) {
VolumeItem volumeItem = mAvailableVolumeItems.get(groupId);
int value = getSeekbarValue(mCarAudioManager, groupId);
// Do not update the progress if it is the same as before. When car audio manager sets its
@@ -541,7 +541,7 @@ public class CarVolumeDialogImpl implements VolumeDialog {
}
@Override
public void onMasterMuteChanged() {
public void onMasterMuteChanged(int flags) {
// ignored
}
};