From 32cc6b7fb7edbb1df2ef556b8a516bb869df9fe6 Mon Sep 17 00:00:00 2001 From: Eric Schmidt Date: Thu, 11 Aug 2016 12:54:31 -0700 Subject: [PATCH] docs: Fixed code snippet in notify-user/navigation.html Bug: 25098348 Change-Id: Ic116900eb9c6e1ebfbc6b99673ffeff3f2df8533 --- docs/html/training/notify-user/navigation.jd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/html/training/notify-user/navigation.jd b/docs/html/training/notify-user/navigation.jd index 65f8d48ba375e..d0ec1cddc35cc 100644 --- a/docs/html/training/notify-user/navigation.jd +++ b/docs/html/training/notify-user/navigation.jd @@ -205,7 +205,7 @@ Intent notifyIntent = notifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); // Creates the PendingIntent -PendingIntent notifyIntent = +PendingIntent pendingIntent = PendingIntent.getActivity( this, 0, @@ -214,7 +214,7 @@ PendingIntent notifyIntent = ); // Puts the PendingIntent into the notification builder -builder.setContentIntent(notifyIntent); +builder.setContentIntent(pendingIntent); // Notifications are issued by sending them to the // NotificationManager system service. NotificationManager mNotificationManager =