resolve merge conflicts of 5149c313bc to master.

Change-Id: Ie687503f9d35bc0cda15c7fd2f62633b47ceb3f3