Code Refactor: Remove getActivityStack() from this class.

Signed-off-by: Pengcheng Bian <pbian@actuate.com>