Correctly set intent to new message notification

Bug 3219763

Change-Id: I7826e762713228ee4ca1ca1d57b4d7603df81a66
This commit is contained in:
Makoto Onuki 2010-11-22 11:36:17 -08:00
parent 9cb0ad3cd6
commit 8d3ef1d01e

View File

@ -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();