add null check to prevent NPE in logging app launch

Bug: 156458241
Test: manual
Change-Id: I7327453233a1e22473967e7c0513b4e1fa282459
1 file changed