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

Unified Diff: chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java

Issue 2362423002: Make WebAPKs use "bell" icon in status tray for notifications (Closed)
Patch Set: Merge branch 'master' into notification_icon2 Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/webapk/shell_apk/res/drawable-xxxhdpi/notification_badge.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java
diff --git a/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java b/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java
index 64909c2c05e09be0bccb9984eb630906acd8da22..1957101c93a53bc8548f95bfb77a8cacdf8d60f5 100644
--- a/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java
+++ b/chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/WebApkServiceFactory.java
@@ -52,7 +52,7 @@ public class WebApkServiceFactory extends Service {
webApkServiceImplClass.getConstructor(Context.class, Bundle.class);
int hostBrowserUid = WebApkUtils.getHostBrowserUid(this);
Bundle bundle = new Bundle();
- bundle.putInt(KEY_SMALL_ICON_ID, R.mipmap.app_icon);
+ bundle.putInt(KEY_SMALL_ICON_ID, R.drawable.notification_badge);
bundle.putInt(KEY_HOST_BROWSER_UID, hostBrowserUid);
return (IBinder) webApkServiceImplConstructor.newInstance(new Object[] {this, bundle});
} catch (Exception e) {
« no previous file with comments | « chrome/android/webapk/shell_apk/res/drawable-xxxhdpi/notification_badge.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698