1.get top-level task activities; 2.main activity window not extend beyond scope