commit | b9a6f3e6993f8179ab9f64a758e66098209cde8a | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Mon Mar 02 15:34:21 2015 -0800 |
committer | Andre Eisenbach <eisenbach@google.com> | Mon Mar 16 16:51:42 2015 -0700 |
tree | 6e329f43f38984790691f5b4d56a080e27f0a65b | |
parent | bfdaf36fa8ebb18d4799e0954126611197b2e863 [diff] |
Remove dependency on GKI tasks from BTIF media task. The previous code started a thread and posted a long-running function to the thread's event loop. In essence, it created a thread and ran a custom thread main that did its own event handling using GKI_wait. The new code doesn't use GKI_wait or GKI_send_event at all. Instead, it uses thread_post and the thread's reactor to enqueue and dispatch events.