decide if the app is still running after launch by checking running tasks and look for a task with base activity belonging to the package launched. Change-Id: Ibb3894e765ccbca62f803decc3c1c1f36dc2d454
Bug: 20134812 Change-Id: Iaf9a9963a16af1e2bb157159648db70666a33c48
Change-Id: Ia9da14b8551c4ec5834a047f0792a5a213a3ac04
Change-Id: I504868ca2b7785849960be287b8d92ca3055b9ff