Answers for "android foreground services set auto cancel not working"

0

android foreground services set auto cancel not working

AutoCancel does not work when service is still on foreground. Try remove service from foreground:

startForeground(2, notification);
stopForeground(false); //false - do not remove generated notification
Posted by: Guest on May-26-2021

Code answers related to "android foreground services set auto cancel not working"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language