resolve merge conflicts of 8007bdd7d to stage-aosp-master

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