Skip calculating launch params if there is no root activity.

Bug: 117810579
Test: atest FrameworksServicesTests:TaskLaunchParamsModifierTests
Change-Id: Ic4c506ab3221cf8082b15b714c1cd82b26e969d0
2 files changed