Merge "Correctly set intent to new message notification"
This commit is contained in:
commit
79c5d35c13
@ -31,7 +31,6 @@ import android.app.PendingIntent;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.BitmapFactory;
|
|
||||||
import android.media.AudioManager;
|
import android.media.AudioManager;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
@ -186,7 +185,8 @@ public class NotificationController {
|
|||||||
.setTicker(mContext.getString(R.string.notification_new_title))
|
.setTicker(mContext.getString(R.string.notification_new_title))
|
||||||
.setLargeIcon(senderPhoto)
|
.setLargeIcon(senderPhoto)
|
||||||
.setContentTitle(notificationTitle)
|
.setContentTitle(notificationTitle)
|
||||||
.setContentText(subject + "\n" + numNewMessages);
|
.setContentText(subject + "\n" + numNewMessages)
|
||||||
|
.setContentIntent(contentIntent);
|
||||||
|
|
||||||
Notification notification = builder.getNotification();
|
Notification notification = builder.getNotification();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user