Merge changes from topic \'flaky-test\' into nyc-dev am: 5a21494d
am: b6fa9e82
* commit 'b6fa9e82':
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.