policy_hal: handle compress offload concurrency

If multiple offload capability is disabled, subsequent session will
either try to reuse or close the previous offload session. Hence,
offload session from varoius clients will interfere with each other.

Fallback to non-direct output when compress offload is already active
and clients are not same. Force deep-buffer when falling back from
compress offload to non-direct outputs.

Change-Id: I6699af71b83c54651976029a9e71be0c99551db6
1 file changed
tree: b26d7692278c3b1756b9eaad522f60cba01541e7
  1. policy_hal/
  2. Android.mk