resolve merge conflicts of 51819e8 to master

Change-Id: Ic4ca267c2f2726763aba2921940f4d8d32d3eb14