commit | 80266989b1b7a9b635a8b393aab8d94ab8af988e | [log] [tgz] |
---|---|---|
author | Sudheer Papothi <spapothi@codeaurora.org> | Tue Aug 16 02:36:18 2016 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Aug 18 07:26:26 2016 -0700 |
tree | 0cf8bfe8934157f2f75fe7021b78effc51184b5d | |
parent | 493f2895a76f6430051897202abc7525a3e1ca65 [diff] |
hal: Add perf lock only during device switch Existing Audio HAL acquires perf lock during device switch for every Android Policy manager routing request without checking for device switch. Acquire perf lock only when there is actual device switch and avoid redundant acquiring of perf locks for every routing request. Change-Id: If81dde9f2bc5e6553dca1145b5966098712d65db