resolve merge conflicts of 1148147c to master

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic1f4b4a5e3390a1153af59197ed39cfb10856b31