resolve merge conflicts of 8c79fe5dc4 to master.

Change-Id: Id331e763f64ecbf8ed23764a487e32b94c4d3c09