Revert "Revert "Protect against null strings in hal wrapper implementation.""

This reverts commit 4cc22a0bc8eb95a74bc7d77fd24ba5361650f227.

Reason for revert: Accidental +2, still waiting on: aosp 345923

Change-Id: I57e062b267ad54632c6d7fcd464c7a0dd773de33
1 file changed