forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebLayer: update MediaStream notification content and channel
1. add WebLayerChannelDefinitions - Contains just the "Media" notification channel - Contains just the general WebLayer notification group, which requires a new string and a new WebLayer-specific strings target 2. Re-use Chrome's media capture notification code, for correct appearance and localization. - setSmallIcon(int) is not sufficient for WebLayer because the icon's drawable is not in the client application's package. For WebLayer, this must be replaced with setSmallIcon(Icon). A placeholder icon from android.R is set for versions <= L. Bug: 1025622,1075594 Change-Id: I80ffbea5bdb5e402f2073737c8c5acc42dabf8b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2165461 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by: Richard Coles <torne@chromium.org> Reviewed-by: Clark DuVall <cduvall@chromium.org> Commit-Queue: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#764711}
- Loading branch information
Evan Stade
authored and
Commit Bot
committed
May 1, 2020
1 parent
fd014a4
commit 2c9aa41
Showing
90 changed files
with
692 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.