Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f71d01c authored by Justin Koh's avatar Justin Koh Committed by Android (Google) Code Review
Browse files

Merge "Broadcast mastervolume regardless of change." into ics-aah

parents aa7bb703 3caba517
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -812,8 +812,9 @@ public class AudioService extends IAudioService.Stub {
                // Post a persist master volume msg
                sendMsg(mAudioHandler, MSG_PERSIST_MASTER_VOLUME, 0, SENDMSG_REPLACE,
                        Math.round(volume * (float)1000.0), 0, null, PERSIST_DELAY);
                sendMasterVolumeUpdate(flags, oldVolume, newVolume);
            }
            // Send the volume update regardless whether there was a change.
            sendMasterVolumeUpdate(flags, oldVolume, newVolume);
        }
    }