diff options
author | Roman Birg <roman@cyngn.com> | 2014-11-26 11:52:52 -0800 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2014-12-01 17:52:41 +0000 |
commit | 8e41852c3659320bcd20ea61fb71639ae4c61160 (patch) | |
tree | fb68ea9f9631b3a99ecc3d6398b7cdf958c88a6b | |
parent | b9279fe29af110c360086ca222c20e080f7f90c8 (diff) | |
download | android_packages_apps_ContactsCommon-8e41852c3659320bcd20ea61fb71639ae4c61160.tar.gz android_packages_apps_ContactsCommon-8e41852c3659320bcd20ea61fb71639ae4c61160.tar.bz2 android_packages_apps_ContactsCommon-8e41852c3659320bcd20ea61fb71639ae4c61160.zip |
ContactsCommon: remove ticker text on importing contacts
This gets pretty spammy and ends up clogging down the status bar.
Change-Id: I1b6284243c5f281284c8203adcd0d015f5bde42b
Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r-- | src/com/android/contacts/common/vcard/NotificationImportExportListener.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/com/android/contacts/common/vcard/NotificationImportExportListener.java b/src/com/android/contacts/common/vcard/NotificationImportExportListener.java index 42876b58..538f1394 100644 --- a/src/com/android/contacts/common/vcard/NotificationImportExportListener.java +++ b/src/com/android/contacts/common/vcard/NotificationImportExportListener.java @@ -97,16 +97,11 @@ public class NotificationImportExportListener implements VCardImportExportListen } final String totalCountString = String.valueOf(totalCount); - final String tickerText = - mContext.getString(R.string.progress_notifier_message, - String.valueOf(currentCount), - totalCountString, - entry.getDisplayName()); final String description = mContext.getString(R.string.importing_vcard_description, entry.getDisplayName()); final Notification notification = constructProgressNotification( - mContext.getApplicationContext(), VCardService.TYPE_IMPORT, description, tickerText, + mContext.getApplicationContext(), VCardService.TYPE_IMPORT, description, null, jobId, request.displayName, totalCount, currentCount); mNotificationManager.notify(DEFAULT_NOTIFICATION_TAG, jobId, notification); } |