mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
line length
This commit is contained in:
parent
2bc57557f9
commit
a680c90da3
2 changed files with 2 additions and 4 deletions
|
@ -46,8 +46,7 @@ public class NCFirebaseMessagingService extends FirebaseMessagingService {
|
|||
private void sendNotification(String contentTitle) {
|
||||
Intent intent = new Intent(this, NotificationsActivity.class);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent,
|
||||
PendingIntent.FLAG_ONE_SHOT);
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_ONE_SHOT);
|
||||
|
||||
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
|
||||
.setSmallIcon(R.drawable.notification_icon)
|
||||
|
|
|
@ -45,8 +45,7 @@ public class NCFirebaseMessagingService extends FirebaseMessagingService {
|
|||
private void sendNotification(String contentTitle) {
|
||||
Intent intent = new Intent(this, NotificationsActivity.class);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent,
|
||||
PendingIntent.FLAG_ONE_SHOT);
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_ONE_SHOT);
|
||||
|
||||
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
|
||||
.setSmallIcon(R.drawable.notification_icon)
|
||||
|
|
Loading…
Reference in a new issue