diff options
author | Lajos Molnar <lajos@google.com> | 2014-12-12 12:27:54 -0800 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-12-12 20:18:35 -0800 |
commit | eee82e44548f17253c2e06b25725f91c7b549ec2 (patch) | |
tree | cf936ad01c06be9f7e8fe80cf83f73b630de4db7 /include/media | |
parent | 8ddb02230d02968d471aa41b22433957c38827c0 (diff) | |
download | frameworks_av-eee82e44548f17253c2e06b25725f91c7b549ec2.zip frameworks_av-eee82e44548f17253c2e06b25725f91c7b549ec2.tar.gz frameworks_av-eee82e44548f17253c2e06b25725f91c7b549ec2.tar.bz2 |
MediaCodecList: handle binder death
Bug: 18691591
Change-Id: Icc402d6ea9b0de4ac642c3b403fb64e865481b2e
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/MediaCodecList.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaCodecList.h b/include/media/stagefright/MediaCodecList.h index 8605d99..c2bbe4d 100644 --- a/include/media/stagefright/MediaCodecList.h +++ b/include/media/stagefright/MediaCodecList.h @@ -52,6 +52,12 @@ struct MediaCodecList : public BnMediaCodecList { static sp<IMediaCodecList> getLocalInstance(); private: + class BinderDeathObserver : public IBinder::DeathRecipient { + void binderDied(const wp<IBinder> &the_late_who __unused); + }; + + static sp<BinderDeathObserver> sBinderDeathObserver; + enum Section { SECTION_TOPLEVEL, SECTION_DECODERS, |