resolve merge conflicts of 7827bcc3e to oc-dev-plus-aosp

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