resolve merge conflicts of 1dfb41c to master

Change-Id: If389fa5e9139005766e694bc83ec6a07c025da1b