commit | 3de7c4146eb27044d68a3443d77c3f5c369911b7 | [log] [tgz] |
---|---|---|
author | Donghyun Cho <donghyun@google.com> | Tue Jan 26 20:11:29 2016 +0900 |
committer | Donghyun Cho <donghyun@google.com> | Thu Jan 28 12:22:58 2016 +0900 |
tree | b1405750f91a76b807db8142c4019a89d3b7758d | |
parent | 6cfdf6b67aede52c9fffd98315925d9368943b8b [diff] |
MediaSession: Define an extra field for staying paused after play Introduced a new constant EXTRA_PREPARE_ONLY, which allows MediaController to ask MediaSession to stay paused right after play requests are called. If this field is set to true in extra bundle and it is passed during playFromMediaId, playFromSearch, and playFromUri requests, MediaSession will prepare the given media, but not start playing it. Bug: 25841735 Change-Id: I2a2f71a251bd6f475698fe8a5bb696ac70003e2b