зеркало из https://github.com/mozilla/Jisort.git
Fixes issue with notification not showing. References #
This commit is contained in:
Родитель
60e2ab7083
Коммит
f1ce7a7501
|
@ -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();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче