hal_adapter: Fix bugs in ProcessCaptureRequest and Notify

Fix an inverted condition in if statement in ProcessCaptureRequest, and
a missing variable initialization in Notify.

BUG=b:30824236
TEST=Manually tested with CL:398659.

Change-Id: I98a424a961e76fe7aec4b60fd00ac4cc5537f3f4
Reviewed-on: https://chromium-review.googlesource.com/410601
Commit-Ready: Ricky Liang <jcliang@chromium.org>
Tested-by: Ricky Liang <jcliang@chromium.org>
Reviewed-by: Heng-ruey Hsu <henryhsu@chromium.org>
1 file changed
tree: b759b646a8e0dfc30a1cb1937fd346aaeb654902
  1. android/
  2. hal_adapter/
  3. .presubmitignore
  4. README