audio policy: add audio policy ready flag.
The audio policy ready flag indicates that audio policy manager
intialization is done and that audioflinger can call back
into audio policy service without risk of deadlocking because the
service is not published yet.
Bug: 188502620
Test: boot and kill native audioserver process.
Change-Id: I671ed0aadd0c51342be5b57d1afb7577da6a7fa9
(cherry picked from commit d66d7a155b9a90463d3e4b8ef6a5cd900b087846)
Merged-In: I671ed0aadd0c51342be5b57d1afb7577da6a7fa9
13 files changed