Revert "frameworks: Add ability to play audio to Boot Animation [1/2]"

This reverts commit 4e64b26c5710d7475d482cc38f67a06101068af4.

(cherry picked from commit 51744104474fd074c83a7d672764669b7baa3103)
MultiSim: move getFormattedSimName() to frameworks (2/2)

Move this into one location any app can call.

Change-Id: I02a96f72be1e41783faeb5862cb26b96ca776672
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit 6d1a93a79342280631f0f511bc2035e543087a81)
Add system|signature permission for intercepting package launch.

The preLaunchCheck (add, remove) functions which allows an application to
perform any checks before the framework launches the app
needs to be a protected with a system|signature permission.
This change defines the permission and protects the functions with it.

Change-Id: Ib62e25b780df39c4a7d9d1e4eaf3fc98ffa4089c
(cherry picked from commit ac102ee8c05c4096f29f465ccf439d809ecd173a)
PackageManager: Add configuration APIs for pre-launch checks

This change replaces overlays with an audited set() API, allowing
application with INTERCEPT_PACKAGE_LAUNCH permission to bootstrap
themselves.

Additionally, checks have been added to ensure that the custom prelaunch
check activity always resolves to a valid target.

Change-Id: I7f6be647fde3ce4ed699e6abfbe0392176ec96d3
(cherry picked from commit 111ae90bbadce1f13c0158cdbb68d4c5888a6f35)