Ensure CATEGORY_LAUNCHER exists for MAIN intents for NTP inactivity/logging.
For the logging of main intent metrics and creating NTPs due to inactivity, we only want to do this if we believe the user came from the launcher. Chrome sends itself MAIN intents and those should not be counted towards this. We should follow up and remove dispatching MAIN intents to ourself as a followup, but this is a step towards the intent of this logging and behavior. Adds a test that if we get a MAIN intent without the launcher category, that we are not going to be waiting for a behavior to be logged via the main intent tracker. BUG=717754 Review-Url: https://codereview.chromium.org/2858043007 Cr-Commit-Position: refs/heads/master@{#469441}
Showing
Please register or sign in to comment