resolve merge conflicts of 3649f7c to master

Change-Id: Ic16950f1c50f7d06d3c9ae08a6f28e292b89c20f