Find Media Button Receiver in manifest for MediaSessionCompat

In cases where only a single BroadcastReceiver is registered to
handle ACTION_MEDIA_BUTTON, provide a convenience constructor for
MediaSessionCompat and logic that queries the manifest for the
correct media button receiver if a null ComponentName is passed in.

BUG: 22581038
Change-Id: I6dfc6ccff192362d5570db1f63c5c291658bce41
2 files changed