resolve merge conflicts of c3415d2bc61c52c9dba8cee8f7587580ede53941 to master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I072c3d46b81dee0a83036ea7d5e91bd1989fa250