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

Commit cc91c675 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix arguments capture in SoundEffectsHelper" into rvc-dev

parents e58fb44a 44f5d3f1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -436,11 +436,12 @@ class SoundEffectsHelper {
                    onUnloadSoundEffects();
                    break;
                case MSG_PLAY_EFFECT:
                    final int effect = msg.arg1, volume = msg.arg2;
                    onLoadSoundEffects(new OnEffectsLoadCompleteHandler() {
                        @Override
                        public void run(boolean success) {
                            if (success) {
                                onPlaySoundEffect(msg.arg1 /*effect*/, msg.arg2 /*volume*/);
                                onPlaySoundEffect(effect, volume);
                            }
                        }
                    });