resolve merge conflicts of afc0aa78f to oc-dev-plus-aosp

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