In my Service
, I open up a notification on normal run, using this code:
private final static NOTIFICATION_ID = 412434;
private void startNotific
That's worked for me:
Random randomGenerator = new Random();
int randomInt = randomGenerator.nextInt(100);
contentIntent = PendingIntent.getActivity(this, randomInt, intent, PendingIntent.FLAG_UPDATE_CURRENT);
There seems to be an issue on some 4.3 devices. It can be resolved by providing a non 0 value to the requestCode
parameter.
Example:
PendingIntent.getActivity(this, 1, intent, PendingIntent.FLAG_UPDATE_CURRENT);