resolve merge conflicts of c8d623e to master

Test: build
Bug: 34231211
Bug: 34227405
Change-Id: If3a01b1ff662fb2ad62d1daf5d9d9df9aa5ec724