DescriptionFix a crash when receiving PAUSE action but no service is routed
In some situations the notification might fire PAUSE action although the
session has no routed service. This is due to the intents fired by
Android is asynchronous. This CL adds a null-check to solve the issue.
BUG=698645
Review-Url: https://codereview.chromium.org/2733843003
Cr-Commit-Position: refs/heads/master@{#454945}
Committed: https://chromium.googlesource.com/chromium/src/+/2fe2e35b5b0b1bd56218c7d8a452966c57593e90
Patch Set 1 #Patch Set 2 : added unit tests #
Total comments: 1
Patch Set 3 : addressed comments #
Messages
Total messages: 11 (7 generated)
|