In addition to the feature flag, we need to check the user pref for Android Messages to determine whether or not to try to start the service worker. This will also ensure that we only start it when Better Together setup is complete.
Note: We should use the FeatureState provided by the MultiDeviceSetup service; no code should depend directly on any preference. I am currently working on a fix for issue 875980, which should make it much easier for you to grab the current FeatureState.
Your change meets the bar and is auto-approved for M70. Please go ahead and merge the CL to branch 3538 manually. Please contact milestone owner if you have questions.
Owners: benmason@(Android), kariahda@(iOS), geohsu@(ChromeOS), abdulsyed@(Desktop)
For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Comment 1 by khorimoto@chromium.org
, Aug 29