resolve merge conflicts of 48d4fe1 to nyc-mr1-dev-plus-aosp

Test: Android compiles.
Change-Id: Ibee3f2dae93e9d1bc7171588c1aa41b53e177687