📅  最后修改于: 2022-03-11 14:52:37.733000             🧑  作者: Mango
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