Alternative to Intent.FLAG_ACTIVITY_CLEAR_TASK

后端 未结 6 1088
傲寒
傲寒 2021-02-06 22:59

I have two apps App-B launches App-A. If the user starts App B from inside App A I call finish on App-A so I have no problem.

If the user goes straight to App B from th

6条回答
  •  忘了有多久
    2021-02-06 23:10

    The best documentation I've found for these Intent flags is here: http://blog.akquinet.de/2010/04/15/android-activites-and-tasks-series-intent-flags/

    I don't understand what you are trying to do, but have you tried FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET?

提交回复
热议问题