Skip to content

Commit

Permalink
SuppressLint dispatchMediaKeyEvent
Browse files Browse the repository at this point in the history
BUG=241521

Review URL: https://codereview.chromium.org/1181083002

Cr-Commit-Position: refs/heads/master@{#334128}
  • Loading branch information
hush authored and Commit bot committed Jun 12, 2015
1 parent 037c10b commit b853e3b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public void handleKeyboardEvent(KeyEvent event) {
mContentsClient.onUnhandledKeyEvent(event);
}

@SuppressLint("NewApi") // AudioManager#dispatchMediaKeyEvent requires API level 19.
/**
* Redispatches unhandled media keys. This allows bluetooth headphones with play/pause or
* other buttons to function correctly.
Expand Down

0 comments on commit b853e3b

Please sign in to comment.