commit | b214efbb9170a9f6a4991684a63ca59680074cc7 | [log] [tgz] |
---|---|---|
author | RoboErik <epastern@google.com> | Thu Jul 24 13:20:30 2014 -0700 |
committer | RoboErik <epastern@google.com> | Fri Jul 25 16:22:18 2014 -0700 |
tree | d0b6c029868b82b6dab23a15dc138937a60dfd79 | |
parent | e34c09daf89fb888fe2638e71758573462d85173 [diff] |
Expose a way to set a PendingIntent for restarting playback This is to allow apps to set a PendingIntent to restart playback. This is not persisted across reboots but will allow music to start playing again for the life of the system. Only the most recent priority app with a PI set will be cached. This also deprecates methods in AudioManager that do this and unhides the unregister method in MediaSessionManager. Change-Id: I66fbf5856333468d8cb8a3022809778ba00d426e