resolve merge conflicts of cf7f295 to master

Change-Id: I49249472948c29b97be8fe33cda8fa022d8e62f6