Loading docs/html/training/notify-user/navigation.jd +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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, Loading @@ -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 = Loading Loading
docs/html/training/notify-user/navigation.jd +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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, Loading @@ -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 = Loading