summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Eric Schmidt <erschmid@google.com> 2016-08-17 18:04:49 +0000
committer android-build-merger <android-build-merger@google.com> 2016-08-17 18:04:49 +0000
commite9bcfaf42b42ff6c1ac51c1ac130650f1210a464 (patch)
tree06288a631e79c4c3faae5eed550f41050e5eeeb5
parent75cff53a344b6e53905f37fdae9e40dbbff098b0 (diff)
parent97b75e6ce9b318a9f6f0315db5dcab81b57468da (diff)
docs: Fixed code snippet in notify-user/navigation.html am: 32cc6b7fb7 am: c89c8c3e37
am: 97b75e6ce9 Change-Id: Ic036c1e7cb80aab24b7535fb364a49abbcf79e7a
-rw-r--r--docs/html/training/notify-user/navigation.jd4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/training/notify-user/navigation.jd b/docs/html/training/notify-user/navigation.jd
index 65f8d48ba375..d0ec1cddc35c 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 =