Check for null when calling getCreatedActivity which is marked as Nullable

Fix: 243508135
Test: compiles
Change-Id: Id1ff2cf68fa10690a1bbec60a0c17cceab9db8d1
1 file changed