commit | 1903729b79dacd9436636ae6ebd36dac1edb2851 | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Wed Apr 05 15:59:21 2017 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Thu Apr 06 11:51:34 2017 +0900 |
tree | bd257ceaba1e5220f7e38f52efa138a15db49223 | |
parent | fed4f9c76a9d3cf98ad37fd3b1ea37fc4d94b7be [diff] |
Prevent MediaBrowser.mRootHints from being modified in API 21+ When the browser and the service run in the same process in API 21+, the MediaBrowserServiceCompat modifies MediaBrowser.mRootHints which should not be changed. This CL fixes the problem by passing the copied object of rootHints. Bug: 36895063 Test: Run MediaBrowserCompatTest in API 19-25 and Android O Change-Id: I1bf241740db69fc9aba3725a3bb16e0fbacfa169