commit | 02ed01297d4c12b07570397e4a664c785a687853 | [log] [tgz] |
---|---|---|
author | riddle_hsu <riddle_hsu@htc.com> | Tue Oct 20 16:00:15 2015 +0800 |
committer | Sungsoo Lim <sungsoo@google.com> | Thu Jan 07 14:26:15 2016 +0900 |
tree | 61850d22c02e10d89e025b3e478056bc64eedbf8 | |
parent | 1ee3e370f9f92721c3ea06344a4e2e80a1bf1bed [diff] |
MediaSession: Use Handler 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. Bug: 25653801 Change-Id: I71d9f708fc3d52b7b5713426ad6140cbf6e336ef