commit | e2619781c799435cf0273d381069c754c5f89a20 | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Wed Apr 05 07:04:09 2017 -0700 |
committer | Marie Janssen <jamuraa@google.com> | Wed Apr 05 11:28:01 2017 -0700 |
tree | 16f11bc2b3040cb76ac4b2c3f5524734fbd1fccb | |
parent | c7eadc8970ae776833420245527973538f533f90 [diff] |
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