diff options
author | Jaewan Kim <jaewan@google.com> | 2017-03-30 03:22:03 +0900 |
---|---|---|
committer | Jaewan Kim <jaewan@google.com> | 2017-04-19 05:53:23 +0000 |
commit | fc1f7ab8ad2f6c01b804cdf41097766a30c89ca9 (patch) | |
tree | 0b18e2b3c7f2ee89cf033d9a5ba822d52da8bf55 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | fe1bddfbb54c20156b45e99c9d18166d702c9adb (diff) |
MediaSessionService: Nullify the media button sesison when it's removed
When the media button sesison is removed, we'd better not pick the
alternative media button session within the app because the alternative
media session might be a dummy which isn't able to handle media keys.
Test: Run the CtsMediaTest (MediaSessionTest and MediaSessionManagerTest)
and the manual test (Launch a media app which creates two media
sessions, and confirmed that another media session doesn't become the
media button session when the media button session is removed)
Change-Id: I376a34ee4b5d2344007594134c40b135b2c5a1bf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions