Don't crash cleaning up not-yet-live state

Broadcast cleanup can happen in some cases prior to launch of the
recipient app's process.  Make sure to check for this situation during
cleanup paths, otherwise null references happen.

Bug: 123598766
Test: manual
Change-Id: Ief4e7e5d47d581fd6db7ac79ef999b9e2dc1bfdc
1 file changed