commit | 258fca377dc7e0ddb8469395922d6904159b8ab1 | [log] [tgz] |
---|---|---|
author | Jin Seok Park <jinpark@google.com> | Wed Dec 09 00:44:28 2020 +0900 |
committer | Jin Seok Park <jinpark@google.com> | Thu Jan 28 05:34:48 2021 +0000 |
tree | 90f4d118539f9af87375b2d2c7f3df428133444f | |
parent | 09454b278bf6ddf3d22789ef66194ea67afbdb1e [diff] |
Add setMediaButtonBroadcastReceiver API This API will replace the existing setMediaButtonReceiver(PendingIntent) API to address the issue that PendingIntent obejcts should not be persisted over reboots. See go/replace-setmediabuttonreceiver for more details. Bug: 161334442 Test: atest CtsMediaTestCases:android.media.cts.MediaSessionTest Change-Id: I4ece6b8595b5f572426b96fbf06edb34c93eeb50