• Toni Barzic's avatar
    Show a notification the detachable base needs an update · 3bd8bc5b
    Toni Barzic authored
    If hammerd detects that the attached detachable base needs a frimware
    update (which is applied on device boot), show the user a system
    notification asking them to reboot the device in order to apply the
    update.
    The notification is closed if the update succeeds, or if the detachable
    base gets detached (i.e. the Chrome OS device switches to tablet mode).
    
    Note that, unlike detachable base switch notification, this notification
    should be shown on login and lock screen (because login and lock UI do
    not display error bubbles in this case), and is thus set as a system
    priority notification.
    
    BUG=765416
    
    Change-Id: Ie8d5d30985aab4d0d85e3b35ebb147d212f92658
    Reviewed-on: https://chromium-review.googlesource.com/957468
    Commit-Queue: Toni Barzic <tbarzic@chromium.org>
    Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543113}
    3bd8bc5b
login_detachable_base_model.cc 2.56 KB