resolve merge conflicts of 7e0586b7a6 to master.

Change-Id: I73b3e010249ac7380677cb2e635f4c847a8446c4