MediaSessionCompat: Make getCallingPackage() work on API24+

Adds getCallingPackage() method introduced in N, which returns the name
of the package that sent the last media button, transport control, or
command from controllers and the system.

Bug: 25208121
Change-Id: Ia36124b51b43ddb9bdff75475324fe56dc1c721c
2 files changed