On Android phone, when you open a webrtc page by clicking a url in current tab, a new tab will be created for it. When you click back to quit the webrtc page, an OnWasShown event will be sent to the previous tab to resume capture device. But if the previous tab doesn't capture at all, the operation will lead to startCapture a second time, which will cause a crash with Camera2 API eventually.
This operation will trigger the "Redundant client configuration" warning in video_capture_controller.cc. So here we return false on that warning then the caller will know it shouldn't start the device again.
BUG=514740
TEST=Manual Test
Review URL: https://codereview.chromium.org/
1322113002
Cr-Commit-Position: refs/heads/master@{#348593}