camera: Handle NPE in data call back.

In case of error handling, HAL sends a data call back with NULL data
ptr which crashes the app upon deref. This patch avoids sending NULL
data ptr.

Bug: 7324300
Change-Id: I7295994443d7f66c1f041da351ee32f1dc909502
Signed-off-by: Iliyan Malchev <malchev@google.com>
1 file changed