DeviceScheduledUpdateChecker: Fix bug in wake lock request
This change fixes a bug in ScopedWakeLock that didn't actually make the call to acquire a wake lock when constructed. Also adds a test to catch this case. BUG=924762 TEST=Unit tests. Change-Id: Ife26d3b9ae88f399adc21cd8cb62ba628929094b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1757461 Commit-Queue: Abhishek Bhardwaj <abhishekbh@chromium.org> Reviewed-by:Sergey Poromov <poromov@chromium.org> Cr-Commit-Position: refs/heads/master@{#691034}
Showing
Please register or sign in to comment