commit | aceef919807a7a3205d09470f23b91c0aa41aa7b | [log] [tgz] |
---|---|---|
author | Jaewan Kim <jaewan@google.com> | Thu Mar 30 03:05:06 2017 +0900 |
committer | Jaewan Kim <jaewan@google.com> | Fri Apr 14 18:07:03 2017 +0900 |
tree | 7dc837d9b33b13c5d28179d224c03632df946bdb | |
parent | 307bec857261e0e3ee9de5af9f30ab289e35ff7b [diff] |
MediaSessionService: Cache active sessions per an user This fixes an issue that MediaSessionManager.getActiveSessions() may return media sessions of the wrong user. This had been an issue since the Android M. Bug: 36227938 Test: Run the CtsMediaTest (MediaSessionTest and MediaSessionManagerTest) and CtsMediaHostTestCases Change-Id: I8a8297e4d182f52c84f654bdb0ba78bc16a1c058