resolve merge conflicts of 2d50d87217 to master

Change-Id: I5a815cd9b473cf72b8418b9df9ded32092ea4bbd