Issue that the notification manu at the top of the user app disappear in Galaxy 21 after a while


There is a function to create and use a notification bar at the top in my app.


Notification notification =;
startForegrount(4001, notification);

But, Teh top bar menu frequently disappears ob the Galaxy S21 model.
(Execute notification with startForeground)

When analyzing when the fixed notifiation bar menu disappears for problem analysis,
It just disappears and no Logs remain regardless of our app.

Could you get me the reason why and to prevent this issue?

I am looking for your response,


Have you tried it with any other Android 11 phone preferably non-Samsung phones?