Camera2: Fix crash when app requesting intent has requested no permisions.

Bug: 151290980

Test: Modify CtsVerifier app to request no permissions -> run intent test.
      Without the change the app crashes.
      With the change, the app can take a picture successfully.

Change-Id: Ib856174cf4815a8c50b9a3b5ab5caae4e7213b66
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
1 file changed