SyntaxFix
Write A Post
Hire A Developer
Questions
Replace your line with this.
notificationManager.notify((int) ((new Date().getTime() / 1000L) % Integer.MAX_VALUE), notification);