resolve merge conflicts of 9f172ee to master.

Change-Id: Ie8ccf417686bc75d0bbb8f213f6f3594718097f6