Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Issue 2826223002: Hide Chrome actions in notifications shown for WebAPKs (Closed)

Created:
3 years, 8 months ago by Xi Han
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide Chrome actions in notifications shown for WebAPKs This CL hides the "Site setting" action when notifications are shown by WebAPKs. The "additional settings in the app" link will be removed from the notification settings for WebAPKs in the System UI in Android O. Before Android O, the settings gear to open app-specific settings shown on the rear of a notification following a long-press will be gone as well. BUG=654539 Review-Url: https://codereview.chromium.org/2826223002 Cr-Commit-Position: refs/heads/master@{#467843} Committed: https://chromium.googlesource.com/chromium/src/+/4df7199f5d2cafd62bf9c9d016caa341230139ca

Patch Set 1 #

Patch Set 2 : Delete NotificationSettingsLauncherActivity. #

Patch Set 3 : Update CustomNotificationBuilder. #

Total comments: 4

Patch Set 4 : Remove the padding on the left. #

Patch Set 5 : Fix the padding #

Patch Set 6 : Update shell_apk_version.gni. #

Patch Set 7 : Rebase. #

Messages

Total messages: 47 (22 generated)
Xi Han
Hi Peter, could you please take a look? Thanks!
3 years, 8 months ago (2017-04-19 21:11:49 UTC) #3
Peter Beverloo
Last I spoke with Yaron there were still UX approvals for this missing. Is that ...
3 years, 8 months ago (2017-04-19 22:04:59 UTC) #5
pkotwicz
You will also need to delete shell_apk/NotificationSettingsLauncherActivity.java
3 years, 8 months ago (2017-04-20 02:14:25 UTC) #6
Xi Han
@Peter B: thanks for reviewing this CL. I turned on the custom notification flag, and ...
3 years, 8 months ago (2017-04-20 16:27:02 UTC) #7
Peter Beverloo
On 2017/04/20 16:27:02, Xi Han wrote: > @Peter B: thanks for reviewing this CL. I ...
3 years, 8 months ago (2017-04-20 17:05:43 UTC) #8
Xi Han
Now I see the difference. The transparent icon is gone and the text of the ...
3 years, 8 months ago (2017-04-20 17:55:18 UTC) #10
Peter Beverloo
code lg, but let's get the padding right :) https://codereview.chromium.org/2826223002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java (right): https://codereview.chromium.org/2826223002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java#newcode238 chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java:238: ...
3 years, 8 months ago (2017-04-20 19:08:29 UTC) #11
Xi Han
PTAL, thanks! https://codereview.chromium.org/2826223002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java (right): https://codereview.chromium.org/2826223002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java#newcode238 chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java:238: bigView.setViewPadding(R.id.origin, padding, 0, padding, 0); On 2017/04/20 ...
3 years, 8 months ago (2017-04-20 20:14:20 UTC) #13
Xi Han
Please hold off the review. I just found on JB, it might needs extra padding ...
3 years, 8 months ago (2017-04-20 20:16:52 UTC) #14
Xi Han
I have tested on JB and KK, both of them need left padding since the ...
3 years, 8 months ago (2017-04-21 13:53:52 UTC) #15
Peter Beverloo
lgtm
3 years, 8 months ago (2017-04-21 14:34:28 UTC) #18
Xi Han
Hi Peter K: could you please review the webapk part? Thanks!
3 years, 8 months ago (2017-04-21 17:04:37 UTC) #21
pkotwicz
LGTM
3 years, 8 months ago (2017-04-25 18:56:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2826223002/120001
3 years, 8 months ago (2017-04-25 19:06:15 UTC) #24
Xi Han
Hi Peter, I updated the shell apk version. PTAL, thanks!
3 years, 8 months ago (2017-04-25 19:30:25 UTC) #26
pkotwicz
Still LGTM on my part. Xi I am unsure which Peter you wanted to look ...
3 years, 8 months ago (2017-04-26 19:49:48 UTC) #27
Xi Han
On 2017/04/26 19:49:48, pkotwicz wrote: > Still LGTM on my part. Xi I am unsure ...
3 years, 8 months ago (2017-04-26 20:06:13 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2826223002/140001
3 years, 8 months ago (2017-04-26 20:07:02 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/280429)
3 years, 8 months ago (2017-04-27 00:26:01 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2826223002/140001
3 years, 7 months ago (2017-04-27 16:37:20 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/281319)
3 years, 7 months ago (2017-04-27 16:56:46 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2826223002/160001
3 years, 7 months ago (2017-04-27 19:39:23 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/328275) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-04-27 19:55:48 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2826223002/160001
3 years, 7 months ago (2017-04-27 22:01:24 UTC) #44
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 02:15:38 UTC) #47
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/4df7199f5d2cafd62bf9c9d016ca...

Powered by Google App Engine
This is Rietveld 408576698