• Sergey Poromov's avatar
    Initiate DeviceSettingsService when D-Bus is available. · 80dec72e
    Sergey Poromov authored
    After recent change, DeviceSettingsService is created before
    DBusThreadManager is initialized.
    Because of that, DeviceOffHoursController never gets information
    about system time synchronization and doesn't apply OffHours mode.
    
    This change swaps DeviceSettingsService and DBusThreadManager creation.
    
    Bug: 822227
    Test: Trybots + manual test that OffHours are now applied.
    Change-Id: I8a00cbbc53add056da4296123e9bfadd461eca94
    Reviewed-on: https://chromium-review.googlesource.com/964522
    Commit-Queue: Sergey Poromov <poromov@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543674}
    80dec72e
chrome_browser_main_chromeos.cc 50.6 KB