[Chromecast] Do not send redundant start()s to Activity.
Although subsequent start() calls to CastWebContentsComponent correspond to foregrounding a fragment, this has no bearing if the ActivityDelegate is used for this component. When CastWebContentsActivity receives a new intent, even with the same WebContents, it will restart the state machine that handles the start parameters, which can cause unexpected side effects. Bug: Internal b/77459373 Test: cast_shell_junit_tests Change-Id: I54a2d9628de4e185df0946291d86eb9553889fda Reviewed-on: https://chromium-review.googlesource.com/1043099Reviewed-by:Stephen Lanham <slan@chromium.org> Commit-Queue: Simeon Anfinrud <sanfin@chromium.org> Cr-Commit-Position: refs/heads/master@{#555970}
Showing
Please register or sign in to comment