Move CCT Dynamic Module code out of CustomTabActivity.

Introduce DynamicModuleCoordinator which is instantiated via DI only
if Intent has correct dynamic module ComponentName.

ActivityDelegate is responsible of notifying dynamic module
on ActivityLifecycle events now.

Bug: 904826
Change-Id: I2e73cdb296db9aab83031bd4c8bf99457bc8973f
Reviewed-by: Ted Choc <>
Reviewed-by: Michael van Ouwerkerk <>
Reviewed-by: Peter Conn <>
Reviewed-by: Pavel Shmakov <>
Commit-Queue: Anna Malova <>
Cr-Commit-Position: refs/heads/master@{#615645}
18 files changed