Clean up Cast notification code
commit4dbea0e89f2e072d53cec99d08044eac9f6ae374
authoraberent <aberent@chromium.org>
Tue, 25 Aug 2015 13:38:49 +0000 (25 06:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Aug 2015 13:39:29 +0000 (25 13:39 +0000)
tree1385e5825f2ce99162ab4043ded8da8e5601423e
parent5cc923cd5e8a5003bf592e98de15730e3d0638fa
Clean up Cast notification code

This CL:

* removes the code for recreating the notification following a Chrome
crash. This has never worked correctly, and is (no longer?) required
by the Chromecast UI guidelines.

* changes the behavior when the Chrome task is swiped away to stop
casting immediately (and remove the notification)

* refactors the code to move most of the functionality into the
notification service.

BUG=515086
BUG=515055
BUG=467700
BUG=454431
BUG=449462

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

Cr-Commit-Position: refs/heads/master@{#345315}
chrome/android/java/src/org/chromium/chrome/browser/media/remote/NotificationTransportControl.java