resolve merge conflicts of 6a31a5c to stage-aosp-master

Change-Id: I29f2085f4656b0b57896ef505ef6a50cdbd1b194