Adding null check to prevent NPE

#createConfirmDeviceCredentialIntent returns null if the device
is insecure.

Bug: 229950204
Test: atest StartActivityAsUserTests
Change-Id: I7de3e72d0677044e282952126612fc3e072d83fd
1 file changed