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

Commit bb10358a authored by Eric Laurent's avatar Eric Laurent Committed by Gerrit Code Review
Browse files

Merge "audiomanager: fix volume group callback"

parents 966020f8 9a2725c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -157,9 +157,7 @@ public class AudioVolumeGroupChangeHandler {
            Handler handler = eventHandler.handler();
            if (handler != null) {
                Message m = handler.obtainMessage(what, arg1, arg2, obj);
                if (what != AUDIOVOLUMEGROUP_EVENT_NEW_LISTENER) {
                    handler.removeMessages(what);
                }
                // Do not remove previous messages, as we would lose notification of group changes
                handler.sendMessage(m);
            }
        }