Dont cache activity for external navigation handling
This removes the cached activity copies from InterceptNavigationHandler
and ExternalNavigationHandler.
- Uses application context when it doesn't make any difference(For
package manager related calls.)
- Tries to get the activity through the tab and if not fail gracefully
either by early return or using application context for launching new
activity.
BUG=
546736
Committed:
https://crrev.com/d02c46df9dfd465461d14586f08745f7213c67f1
Cr-Commit-Position: refs/heads/master@{#371853}