Stops the activities in the forward order

The activities were added to the stopping list usually from
top to bottom. Since the stopping list is processed in a reverse
order, the activities were put to stopped state reversely.

Bug: 262077896
Test: verify locally
Change-Id: I561bb5887b0d4ab46841845fa6472a8aaee4d6c0
1 file changed