Chrome sends notifications with Channel to WebAPKs which targets SDK 26 on Android O.
In Chrome: - WebAPK's channel is set under "Sites" notification group and "readable origin" as the channel, the same channel as Webapps. - If the device is Android o+, Chrome will set a channel to the notification. In WebAPK: - WebApkServiceImpl#notifyNotification() is deprecated. Chrome calls notifyNotificationWithChannel() instead. - If on Android O+, WebAPK will ensure the notification channel is created if its notifications have a channel id. To test this change, we need to make sure the following cases all work: - New WebAPK, new Chrome; - New WebAPK, old Chrome; - Old WebAPK, new Chrome. Bug: 700228 Change-Id: I176a8d45f021a33ea441837476b1ca09e973a48b Reviewed-on: https://chromium-review.googlesource.com/786300Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Reviewed-by:
Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:
Anita Woodruff <awdf@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Commit-Position: refs/heads/master@{#521841}
Showing
Please register or sign in to comment