resolve merge conflicts of 435ad029a3 to master.

Change-Id: I87202d69a772c593b691de8ce2faeaac9b7d1f58