Move APIs related to the media button into MediaButtonReceiver

Relocate APIs related to the media button, and remove the flag attribute
from the IntDef annotation of MediaKeyActions.

Bug: 22718016
Change-Id: If9f73c2f779aefe12c7dd5f9da96a2cba2aacd96
4 files changed