commit | ca19d14fc52998e48eaa5e5d4e62b323a0c08d89 | [log] [tgz] |
---|---|---|
author | Jaewan Kim <jaewan@google.com> | Thu Jul 06 20:59:12 2017 +0900 |
committer | Vikas Marwaha <vikasmarwaha@google.com> | Fri Dec 01 21:21:27 2017 +0000 |
tree | d1bdc05cf9924ae2d659c3bda7faa17525bf3034 | |
parent | 8ee1966a366a7898a52cceaa668166f098908f57 [diff] |
CDD: Require double-tap play/pause to be mapped to next track. - Device implemenations MUST make sure MediaSession.Callback#onMediaButtonEvent considers double tap of KEYCODE_HEADSETHOOK or KEYCODE_MEDIA_PLAY_PAUSE as KEYCODE_MEDIA_NEXT. - This way, apps in foreground and using mediasession API's can switch to next track on a double-tap of play/pause. Bug: 63125399 Test: Run make_cdd.py Change-Id: I154fe3ff97737aca153f4c7735fe1a91f9fbe4a3