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

Skip to content
Commit a7cf67c3 authored by Marie Janssen's avatar Marie Janssen
Browse files

AVRCP: Don't send notifications in callbacks

Since native code can have unbounded wait (for thread safety), only call
it on the main thread.

Some notifications are also idempotent so also eliminate duplicate
notifications if we might send multiple in a short time period.

Test: connect to tesla, observe no crashing
Change-Id: I4ca1ab6d8657ce4f02983101c68e95ebf9026753
Fixes: 36794139
(cherry picked from commit e2619781)
parent be74f02a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment