easy_unlock: When loading the easy-unlock app, make sure it's enabled
The extension gets disabled when Chrome goes to sleep. If it doesn't wake up for some reason, the app will stay disabled. To make sure this doesn't happen, enable the app after loading it (this should be no-op if the app is already enabled). TEST=Let a Chromebook battery drain while it's suspended. On next boot the easy unlock app should be enabled (provided that it was enabled when Chromebook was suspended). BUG=410082 Review URL: https://codereview.chromium.org/564663003 Cr-Commit-Position: refs/heads/master@{#294980}
Showing
Please register or sign in to comment