resolve merge conflicts of 4798f66 to stage-aosp-master

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