diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2015-09-04 14:15:58 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-10-29 12:07:04 -0700 |
commit | 4f33629b62ad90687973c8496d9b60f4f18e26b1 (patch) | |
tree | c29eb1898a2daa8d4b3c0f98d96512cb67c16a59 /media/libavextensions | |
parent | ce9e446bd8c72972af86917563225e618b49d451 (diff) | |
download | frameworks_av-4f33629b62ad90687973c8496d9b60f4f18e26b1.zip frameworks_av-4f33629b62ad90687973c8496d9b60f4f18e26b1.tar.gz frameworks_av-4f33629b62ad90687973c8496d9b60f4f18e26b1.tar.bz2 |
DO NOT MERGE: CameraService: Link to client binder death at end of connect
If, within a binder Looper thread, a Binder object death notifier is
registered, and then a nested Binder transaction is begun, that
transaction may process a death notification callback for the
just-registered object, if it was dead at the time of registration.
This can lead to an unexpected nested call into the service, and cause
deadlock.
To avoid this, move the death notifier registration to the end of
handling the connect transaction.
Also remove one extra bit of disconnect logging.
Bug: 23525545
Change-Id: If01cbaf42704f55134118afefc9a8f7bdb014e09
Diffstat (limited to 'media/libavextensions')
0 files changed, 0 insertions, 0 deletions