docs: Fixed code snippet in notify-user/navigation.html am: 32cc6b7fb7 am: c89c8c3e37

am: 707678d8c5

Change-Id: I8a386fcf36730f08367631bd0c1cba6d2731f09f
This commit is contained in:
Eric Schmidt
2016-08-17 17:53:37 +00:00
committed by android-build-merger

View File

@@ -205,7 +205,7 @@ Intent notifyIntent =
notifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | notifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_CLEAR_TASK); Intent.FLAG_ACTIVITY_CLEAR_TASK);
// Creates the PendingIntent // Creates the PendingIntent
PendingIntent notifyIntent = PendingIntent pendingIntent =
PendingIntent.getActivity( PendingIntent.getActivity(
this, this,
0, 0,
@@ -214,7 +214,7 @@ PendingIntent notifyIntent =
); );
// Puts the PendingIntent into the notification builder // Puts the PendingIntent into the notification builder
builder.setContentIntent(notifyIntent); builder.setContentIntent(pendingIntent);
// Notifications are issued by sending them to the // Notifications are issued by sending them to the
// NotificationManager system service. // NotificationManager system service.
NotificationManager mNotificationManager = NotificationManager mNotificationManager =