Starting the app from Notification remove it from recent app history

后端 未结 5 1534
逝去的感伤
逝去的感伤 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:17

    Try adding to the manifest the following:

    android:excludeFromRecents = "false"
    

    Good luck, Luis

提交回复
热议问题