Fixes issue with notification not showing. References #

This commit is contained in:
Brian Mwadime 2016-07-16 11:33:16 +03:00
Родитель 60e2ab7083
Коммит f1ce7a7501
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -43,7 +43,7 @@ public class App extends Application {
Notification notification = new NotificationCompat.Builder(getContext()) Notification notification = new NotificationCompat.Builder(getContext())
.setContentTitle(getContext().getString(R.string.app_name)) .setContentTitle(getContext().getString(R.string.app_name))
.setStyle(new NotificationCompat.BigTextStyle().bigText(msg)) .setStyle(new NotificationCompat.BigTextStyle().bigText(msg))
// .setSmallIcon(R.drawable.ic_launcher) .setSmallIcon(R.drawable.ic_launcher)
.setContentIntent(pIntent) .setContentIntent(pIntent)
.setAutoCancel(true) .setAutoCancel(true)
.addAction(0, getContext().getString(R.string.btn_more), pIntent).build(); .addAction(0, getContext().getString(R.string.btn_more), pIntent).build();