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

Skip to content
Commit eed37509 authored by Ahmad Khalil's avatar Ahmad Khalil
Browse files

Fix NotificationPlayer wakelock being held for too long.

We added a try/finally to the run() method, to make sure the wakelock gets released even if there was a crash. We also added a couple of try/catch blocks to log any issues releasing the MediaPlayer and abandoning audio focus.

Fix: 293371948
Test: N/A
Change-Id: Idfa4049b70ceb1bbdb5afce8f1cc8381796d6bbe
parent 8c5aa74b
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