Merge QP1A.181011.003

Fixing the merge conflict removed some Qualcomm code. Opened
b/117939338 for Qualcomm to re-apply the changes, if appropriate.

Change-Id: Id3640b1f20e2d1dea45db53bfb50a0e9b33f93b8