commit | 66e4c4779f17198dd3cb0b13b97a7943c6eae3e5 | [log] [tgz] |
---|---|---|
author | Leena Winterrowd <lenhardw@codeaurora.org> | Thu Sep 10 15:41:08 2015 -0700 |
committer | Wei Jia <wjia@google.com> | Fri Feb 03 10:42:35 2017 -0800 |
tree | 0b3dbb57a99d9ac09cf650c6aaae580f3d6c8a5c | |
parent | d7ae0b8529d0b08496392c85ae4d00753e28882e [diff] |
NuPlayerRenderer: Handle AMessage post error in openAudioSink AMessage::postAndAwaitResponse can fail if the target looper no longer exists or if allocation of the reply token fails. Check for error in these cases to avoid deferencing a NULL response. Test: compiles Bug: 34805421 (cherry picked from commit b90c8f42036ea773e938cadd0d52480ac703edd7) Change-Id: Ib76c111a39462e867a41f320c0ba0a220a0c5641