Initiate DeviceSettingsService when D-Bus is available.
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:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#543674}
Showing
Please register or sign in to comment