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

Skip to content
Commit b68025b8 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

SoundEffectsHelper: Fix NPE when calling into SoundPool

The instance of SoundPool might get released as a result
of unloading sound effects. Required checks for the validity
of the SoundPool pointer were missing resulting in an NPE.

Bug: 159870337
Test: atest android.media.cts.AudioManagerTest#testSoundEffects
Change-Id: Ief4f7f0027a1f03f71d3db5af623df9ad3c37a1b
parent e4e478ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment