resolve merge conflicts of bb710ca0f2 to nyc-mr1-dev

Bug: 23034759
Bug: 21132860

Change-Id: Iad6a58cb047ab2781564b896ac26d0b79fcb8c38