resolve merge conflicts of 505f1ea to nyc-dev-plus-aosp

Change-Id: I023ace4df452371eea1b0b004d8817e6fe90585e