Resolve conflicts from merge of b6ee08aa into gingerbread-plus-aosp

Change-Id: Iebd91e356bec8bec29e120aea9bb10bcf02bc356