TIMOB-12487: Check for activityStackSize when terminating the activity stack since calling finish() can potentially change the size of the activity stack.
TIMOB-12487: Remove unncessary stack size check for 0
Merge pull request #3827 from ayeung/timob-12487

TIMOB-12487: Check for activityStackSize when terminating the activity s...