Fail when ChromeTabbedActivity is explicitly invoked from the outside |
||||||
Issue descriptionWe had to export CTA to fix issue 781191, and there is a good chance that 3rd party code will start calling CTA explicitly, instead of .Main alias that points to it. We should detect such cases and bark (show toast, throw exception, etc.). For example we can require that all CTA intents have "Calling ChromeTabbedActivity directly is not supported" extra. There might be more appropriate / clever solutions.
,
Feb 8 2018
,
Mar 6 2018
,
Mar 7 2018
,
Mar 7 2018
dskiba@ added a bunch of metrics in CTA to track whether this is occurring in maybeDispatchExplicitMainViewIntent, so once that gets below some threshold (TBD), we should just start ignoring non-MAIN intents directly to CTA.
,
May 30 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by tedc...@chromium.org
, Nov 6 2017