diff options
| author | 2016-08-17 18:06:26 +0000 | |
|---|---|---|
| committer | 2016-08-17 18:06:31 +0000 | |
| commit | 84e360c86c1aca499dc4e987407a2e22818a5eb0 (patch) | |
| tree | f8eee77dba986e296b81fe5e2cfea050bafaf94c | |
| parent | caed0244a80adf00241a590c6e14c706d6841575 (diff) | |
| parent | e9bcfaf42b42ff6c1ac51c1ac130650f1210a464 (diff) | |
Merge "docs: Fixed code snippet in notify-user/navigation.html am: 32cc6b7fb7 am: c89c8c3e37 am: 97b75e6ce9" into nyc-mr1-dev-plus-aosp
| -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 = |