RESTRICT AUTOMERGE: Sanitize MusicFx broadcast intents and restrict receivers

This CL mitigates a vulnerability in MusicFxHelper where untrusted
intents provided by callers were directly relayed as system broadcasts.

1. Intent Sanitization: Instead of relaying the caller's intent
wholesale,
   MusicFxHelper now reconstructs a fresh intent, explicitly copying only
   known, safe extras (EXTRA_AUDIO_SESSION, EXTRA_PACKAGE_NAME, and
   EXTRA_CONTENT_TYPE).
2. Receiver Restriction: The receiver query now enforces
   PackageManager.MATCH_SYSTEM_ONLY, ensuring that the control intents
   are only delivered to trusted system components.
3. Added unit tests to AudioServiceTests to verify the sanitization and
receiver query logic.

Flag: EXEMPT BUGFIX
Bug: 514861125
Bug: 514861143
Test: atest AudioServiceTests:MusicFxHelperTest
TAG=agy
CONV=ad8c4c25-c17d-420a-8235-6db5f9c58a23
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:345b72fc9723115f9e23333399b91d41072af870
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:0ddeefc2f5978bc3fd2991e65c8cb5277ebc7505
Merged-In: I55aded3deabaaecbdf1abe78ea54e7f3bc47259a
Change-Id: I55aded3deabaaecbdf1abe78ea54e7f3bc47259a
2 files changed