[Chromecast] Don't run stop if we didn't start.
When an app starts in background mode and then stops without being displayed, the service-based path crashed due to calling unbindService without calling bindService. This change prevents stop logic from being called if start was never called. BUG=internal 63015237 TEST=cast_shell_junit_tests Change-Id: I8a89580927972b13d6b0842972805853b8c5bbb7 Reviewed-on: https://chromium-review.googlesource.com/576196Reviewed-by:Luke Halliwell <halliwell@chromium.org> Commit-Queue: Thoren Paulson <thoren@chromium.org> Cr-Commit-Position: refs/heads/master@{#487641}
Showing
Please register or sign in to comment