commit | 2247f7b84bf0ce3cc9c909ef987eedb086e3b4e8 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Jan 13 11:52:54 2017 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Jan 13 20:10:31 2017 +0000 |
tree | 3045baaee4d5fb8bebee134017d46d1a479f8310 | |
parent | 38267b773f2cdec4d684b12fde73179bcc66e0c7 [diff] |
audioflinger: Fix effect creation handling The code flow was incorrect for sure. The 'if' branch is chosen if 'effect == 0', and 'effectRegistered' is set to 'true' before the effect is even created. Test: audioflinger doesn't crash if effect failed to get created Change-Id: I00d5f28e8b96acd765867e212c5b8193e21f9b4a