New issue
Advanced search Search tips

Issue 610156 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocking:
issue 609258



Sign in to add a comment

Figure out what tapping the "gear icon" in WebAPK notification should do

Project Member Reported by pkotw...@chromium.org, May 8 2016

Issue description

Notifications have two gear icons: one on the front and one on the back (notification flips when user long presses on the notification)

Currently non-WebAPK notifications
- Have the gear at the front. Tapping on the gear opens site settings
- Have the gear at the back. Tapping on the gear opens site settings

Currently WebAPK notifications
- Have the gear in the front. Tapping on the gear opens Chrome site settings
- Do not have the gear at the back

I am not sure if this is the desired behavior
 
Components: Mobile>WebAPKs
Blocking: -524670
Blocking: 609258

Comment 4 by sbirch@chromium.org, Jul 20 2016

This behavior SGTM. If we can add a gear to the back I think that would be better from a consistency perspective (and ensure that it's an option if we ever change the buttons shown on the front.)
Owner: pkotw...@chromium.org
Status: Assigned (was: Untriaged)
So the system only shows the gear icon if you have an activity with the intent filter as in https://codereview.chromium.org/2169743002/  ?
#6: The activity with the intent filter is necessary for the gear icon to show
Project Member

Comment 8 by bugdroid1@chromium.org, Jul 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/349039d03080d2ebc81f5e136d64804e99b43d49

commit 349039d03080d2ebc81f5e136d64804e99b43d49
Author: pkotwicz <pkotwicz@chromium.org>
Date: Mon Jul 25 23:33:09 2016

Makes WebAPK handle NOTIFICATION_PREFERENCES intents

This CL makes WebAPK handle NOTIFICATION_PREFERENCES intents. The intent is
forwarded to the host browser. A NOTIFICATION_PREFERENCES intent is sent
when the user long presses on a notification on L+ and taps on the "gear icon".

BUG= 610156 

Review-Url: https://codereview.chromium.org/2169743002
Cr-Commit-Position: refs/heads/master@{#407631}

[modify] https://crrev.com/349039d03080d2ebc81f5e136d64804e99b43d49/chrome/android/webapk/shell_apk/AndroidManifest.xml
[modify] https://crrev.com/349039d03080d2ebc81f5e136d64804e99b43d49/chrome/android/webapk/shell_apk/BUILD.gn
[add] https://crrev.com/349039d03080d2ebc81f5e136d64804e99b43d49/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/NotificationSettingsLauncherActivity.java

Project Member

Comment 9 by bugdroid1@chromium.org, Jul 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/349039d03080d2ebc81f5e136d64804e99b43d49

commit 349039d03080d2ebc81f5e136d64804e99b43d49
Author: pkotwicz <pkotwicz@chromium.org>
Date: Mon Jul 25 23:33:09 2016

Makes WebAPK handle NOTIFICATION_PREFERENCES intents

This CL makes WebAPK handle NOTIFICATION_PREFERENCES intents. The intent is
forwarded to the host browser. A NOTIFICATION_PREFERENCES intent is sent
when the user long presses on a notification on L+ and taps on the "gear icon".

BUG= 610156 

Review-Url: https://codereview.chromium.org/2169743002
Cr-Commit-Position: refs/heads/master@{#407631}

[modify] https://crrev.com/349039d03080d2ebc81f5e136d64804e99b43d49/chrome/android/webapk/shell_apk/AndroidManifest.xml
[modify] https://crrev.com/349039d03080d2ebc81f5e136d64804e99b43d49/chrome/android/webapk/shell_apk/BUILD.gn
[add] https://crrev.com/349039d03080d2ebc81f5e136d64804e99b43d49/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/NotificationSettingsLauncherActivity.java

Status: Fixed (was: Assigned)

Sign in to add a comment