diff options
| author | 2023-08-16 10:51:42 +0000 | |
|---|---|---|
| committer | 2023-08-18 12:27:13 +0000 | |
| commit | eed375091fbd1ec9a5edb52cb5665cb03b031881 (patch) | |
| tree | 38ef2721e5aae53e8c95ed3ae18c828b8558bd81 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 8c5aa74b217171d25e8b6bd93d38c1a6bbfd52c5 (diff) | |
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions