commit | 8ebba5cb83e70d3f30ee5a77565eafe9229f2a1a | [log] [tgz] |
---|---|---|
author | riddle_hsu <riddle_hsu@htc.com> | Tue Oct 20 16:00:15 2015 +0800 |
committer | Riddle Hsu <riddle_hsu@htc.com> | Tue Jan 19 04:53:31 2016 +0000 |
tree | fca62442618b2a3dfea44b8fae9c4bfbfe91d64e | |
parent | 59d548e1e54fa753d3776647b98dc34ea7c27685 [diff] |
MediaSession: Use mHandler for sending a pending intent When PendingIntent.send() is called with a null handler, onSendFinished() will be called inside of the send() method. Therefore in this case, if a thread holds a lock before calling send(), and onSendFinished() also requires the lock, a deadlock could happen. Change-Id: I71d9f708fc3d52b7b5713426ad6140cbf6e336ef