From 614b714296a6ec4789aee7b0fcecceca0fad3dda Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Wed, 26 Nov 2014 11:52:52 -0800 Subject: 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 (cherry picked from commit 8e41852c3659320bcd20ea61fb71639ae4c61160) --- .../contacts/common/vcard/NotificationImportExportListener.java | 7 +------ 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3