Starting the app from Notification remove it from recent app history

后端 未结 5 1531
逝去的感伤
逝去的感伤 2021-02-12 23:04

I have a problem in one of my apps when I start it from a notification. It never appears in the \"recent app\" list.

Without notifications, every thing works as expected

5条回答
  •  粉色の甜心
    2021-02-12 23:28

    Old topic but I discover solution (and I can't find in web anyone), maybe it will be helpful for sb. It doesn't give possibility to set any activity as a parent but I think (not sure) that you can change it programmatically (in OpenFromNotificationActivity) if it is necessary.

    In manifest

    
                
     
    
     
                
                    
                    
                
     
    

提交回复
热议问题