resolve merge conflicts of 4f2a0fe213e5 to stage-aosp-master

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