resolve merge conflicts of c313d91 to stage-aosp-master

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