resolve merge conflicts of 46c39f6c3640 to master

Change-Id: Ica5ee627b6884800ad3be172f5d2d10b6ba02052