Android: How do I totally remove an Activity from the Activity Stack?

前端 未结 5 1448
梦毁少年i
梦毁少年i 2021-01-07 02:34

I have two Activities FirstActivity and SecondActivity.

FirstActivity has an intent filter MAIN, LAUNCHER and DEFAULT. SecondActivity is just a normal activity and n

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-07 02:58

    When you start application from 'Recent Application' shortcut, it will launch the last activity. So you can try to launch the application from the application list, see whether it solves your problem.

提交回复
热议问题