Finish gracefully on stop events, but not on pause events.
commitfbda222486f52deede438cfa2a2668e0d7335931
authorbyungchul <byungchul@chromium.org>
Wed, 22 Oct 2014 18:31:01 +0000 (22 11:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Oct 2014 18:32:01 +0000 (22 18:32 +0000)
tree4068b32f79fd65707b0f76462445a9c898fe629b
parent498174e93a3e6c1909d4aa81891587d867820e23
Finish gracefully on stop events, but not on pause events.

On some circumstances, pause events are generated several times during start up.
Since current implementation finishes CastShellActivity on pause events, the
app doesn't start unexpectedly.

BUG=425812

Review URL: https://codereview.chromium.org/668053003

Cr-Commit-Position: refs/heads/master@{#300714}
chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastShellActivity.java