Merge changes from topic \'flaky-test\' into nyc-dev
am: 5a21494d
* commit '5a21494d':
Fixed issue with losing window name when copying WindowManager.LayoutParams
Added AM API to remove a stack
Don't resume activity on start if there are activities pausing.