resolve merge conflicts of 4d044d6bbf8225eef3fe10e440b78b55cc09682d to nougat-mr1-dev

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ic97f35757d2129f4b0e4ff09e1b22faca3f5698c