resolve merge conflicts of b2a5b52 to master

Test: it compiled

Change-Id: Ic0eda73baf40dd342858b464f554bc4527177e85