From 6dc8d6ff823028a4b3b228e8a3bcac3481335eda Mon Sep 17 00:00:00 2001 From: kmccormick Date: Wed, 20 Mar 2013 15:44:33 -0700 Subject: [PATCH] Doc update: notification class bug fix Bug # 8289218 Change-Id: I8bc10aa4a227f8125824d69a6202c383b7de256f --- docs/html/training/notify-user/build-notification.jd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/html/training/notify-user/build-notification.jd b/docs/html/training/notify-user/build-notification.jd index ba6602884848d..80f2cd52a89ad 100644 --- a/docs/html/training/notify-user/build-notification.jd +++ b/docs/html/training/notify-user/build-notification.jd @@ -149,12 +149,14 @@ specifications.

For example:

+NotificationCompat.Builder mBuilder;
+...
 // Sets an ID for the notification
 int mNotificationId = 001;
 // Gets an instance of the NotificationManager service
 NotificationManager mNotifyMgr = 
         (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
 // Builds the notification and issues it.
-mNotifyMgr.notify(mNotificationId, builder.build());
+mNotifyMgr.notify(mNotificationId, mBuilder.build());