Consolidate the embedding activity check

So that it can go through the same embedding checks, such as
checking if the task was host by system uid, when adding an
activity on a Task in split.

Bug: 189386461
Bug: 197364677
Test: start partner apps from Settings
Change-Id: Iede880956b73178d075d1305e29fe4fcc057d770
1 file changed