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