resolve merge conflicts of ce40da80701a to master

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