• Wenzhao Zang's avatar
    cros: Remove unnecessary timer in LockScreen · 7a27c0fc
    Wenzhao Zang authored
    The timer was added for the fear that the wallpaper animation
    completion is never received. In fact, it's guaranteed to be received.
    
    In case there's a decoder issue (more info in the bug) that wallpaper
    decoding takes more than 5 sec:
    
    1) If keeping the timer, the user pods will be shown on top of the
       white boot splash screen, which looks buggy.
    2) If removing the timer, the user pods will show together with the
       wallpaper. The boot experience feels slow but still smooth.
    
    So IMO the best solution is to remove the timer as well as trying to
    fix the decoder issue.
    
    Bug: 890935
    Change-Id: I685a0065acae99ebccd2734dcebd9dce2f563dbb
    Reviewed-on: https://chromium-review.googlesource.com/1255903Reviewed-by: default avatarJacob Dufault <jdufault@chromium.org>
    Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#596284}
    7a27c0fc
lock_screen.cc 4.56 KB