diff options
| author | 2016-08-17 17:53:37 +0000 | |
|---|---|---|
| committer | 2016-08-17 17:53:37 +0000 | |
| commit | a2036a2109f3ba187320a041aed7bb65d146c6c7 (patch) | |
| tree | c0c2e9ca19d6e02899d6a3761da08a8a33fef8be | |
| parent | 121a2384080b839eeac529e1756eb9d8167940a1 (diff) | |
| parent | 707678d8c5f0bb9ea13f1f8aa5e8ed5683ef1a7b (diff) | |
docs: Fixed code snippet in notify-user/navigation.html am: 32cc6b7fb7 am: c89c8c3e37
am: 707678d8c5
Change-Id: I8a386fcf36730f08367631bd0c1cba6d2731f09f
| -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 = |