resolve merge conflicts of 0c8b471be3 to stage-aosp-master

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