[Chromecast] Finish when stopped by user leaving.
We used to tear down CastWebContentsActivity when we stop because the user left. This is needed because sometimes we can leave the activity without tearing down, leaving the receiver running without the user seeing it. Bug: internal b/112775688 Test: cast_shell_junit_tests Change-Id: If234a52facb9ea310b8899db0a9bda1a67439cd5 Reviewed-on: https://chromium-review.googlesource.com/1184044 Commit-Queue: Thoren Paulson <thoren@chromium.org> Reviewed-by:Simeon Anfinrud <sanfin@chromium.org> Cr-Commit-Position: refs/heads/master@{#584937}
Showing
Please register or sign in to comment