Application should not display in recent app list after finish the activity if app was not displaying recent app list previously

前端 未结 3 1129
时光说笑
时光说笑 2021-01-12 12:34

Step 1- Application is not exist in recent app list (App has been removed from recent app list).
Step 2- As soon as I got notification open IncomingCall activity, User a

3条回答
  •  余生分开走
    2021-01-12 13:00

    Add

    android:excludeFromRecents="true" 
    

    to the activity tag of your launcher activity in AndroidManifest.xml file

    
    ....
    
    

提交回复
热议问题