diff options
author | riddle_hsu <riddle_hsu@htc.com> | 2015-10-20 16:00:15 +0800 |
---|---|---|
committer | Riddle Hsu <riddle_hsu@htc.com> | 2016-01-19 04:53:31 +0000 |
commit | 8ebba5cb83e70d3f30ee5a77565eafe9229f2a1a (patch) | |
tree | fca62442618b2a3dfea44b8fae9c4bfbfe91d64e /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions