resolve merge conflicts of b145b04127 to stage-aosp-master

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