|
|
@@ -25,7 +25,7 @@ public class NotifyUtils {
|
|
|
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context);
|
|
|
mBuilder.setContentTitle(title)
|
|
|
.setContentText(content)
|
|
|
- .setContentIntent(getDefalutIntent(id,Notification.FLAG_AUTO_CANCEL))
|
|
|
+ .setContentIntent(getDefaultIntent(id,Notification.FLAG_AUTO_CANCEL))
|
|
|
.setTicker(ticker)
|
|
|
.setWhen(System.currentTimeMillis())
|
|
|
.setPriority(Notification.PRIORITY_DEFAULT)
|
|
|
@@ -37,7 +37,7 @@ public class NotifyUtils {
|
|
|
mNotificationManager.notify(id, notify);
|
|
|
}
|
|
|
|
|
|
- public PendingIntent getDefalutIntent(int id, int flags) {
|
|
|
+ public PendingIntent getDefaultIntent(int id, int flags) {
|
|
|
Intent intent = new Intent(context, MyOrderActivity.class);
|
|
|
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
|
|
intent.putExtra("from","notify");
|