commit | 9ea77cdba8c422940adb57a790b44ac04fe0353f | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Wed Apr 06 17:07:48 2016 -0700 |
committer | Eric Laurent <elaurent@google.com> | Tue May 24 00:48:20 2016 +0000 |
tree | 1e7c588ce1add16e6991eaae918d38414b17d879 | |
parent | f0f4f1e494a80ce300a68cfce0e1dc627c09c29a [diff] |
audioflinger: Pass pid of process creating track or opening record AudioFlinger allocates a Client heap for each unique pid. If two applications use mediaplayer APIs, the same Client heap is reused as the pid used is not the application pid but that of mediaserver. With this change, the pid of the application pid is used to decide the heap to be used. Bug: 23525542 Bug: 28772898 Change-Id: I31a695b0b321eff6e2aca80c3bc4aeb3e1cd9ac7