diff options
| author | 2016-08-17 18:04:49 +0000 | |
|---|---|---|
| committer | 2016-08-17 18:04:49 +0000 | |
| commit | e9bcfaf42b42ff6c1ac51c1ac130650f1210a464 (patch) | |
| tree | 06288a631e79c4c3faae5eed550f41050e5eeeb5 | |
| parent | 75cff53a344b6e53905f37fdae9e40dbbff098b0 (diff) | |
| parent | 97b75e6ce9b318a9f6f0315db5dcab81b57468da (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.jd | 4 |
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 = |