Do not add the finishing Activity to mNoHistoryActivities

The resumed activity is added to mNoHistoryActiviyies while start
pausing the currently resumed activity. The activity in pending
finish state should be ignored while pausing the activity.

Bug: 200159293
Test: atest ActivityStarterTests
Change-Id: I396b115d340916c5a89019fa9f2cd250bfaee0f8
1 file changed