Prevent client got NPE crash if setIntent was set to null.

Not sure why app overwrite the start intent to null, but we should
prevent app from crash in frameworks.

Bug: 210930049
Test: run test app; presubmit
Change-Id: Ifa27c2258b1e7a2a49b1a4155bd5ada79fa2d1af
1 file changed