resolve merge conflicts of 946e2bd to master

Change-Id: I272e1f474c534131cf901c38749d5862cab10400