Merge "audio policy: fix crash in checkOutputForAttributes"