resolve merge conflicts of 47c16d37c1 to master.

Change-Id: Ib1c968d20529ffcd5a16179944e1ec9fd27ab3a6