• Sheng-Hao Tsao's avatar
    Show consolidated camera icon on shelf · 1de878d8
    Sheng-Hao Tsao authored
    This CL fixes 2 bugs:
    
    1. Users might pin the internal app to the shelf. Clicking on it would
    launch a real camera app, causing 2 camera icons shown on the shelf.
    2. Users might pin the currently running camera app on the shelf. If the
    users click on it afterward, it will bypass the internal app deciding
    logic and always launch that specific app.
    
    pinned the internal camera app icon, and launching camera app from it
    does not show 2 camera icons on shelf.
    
    Bug: b:117909556
    Test: Tested on eve that pinning camera app on launcher or on shelf both
    Change-Id: I0300456595e6c4c00c1a47f7a3bc7309d1230553
    Reviewed-on: https://chromium-review.googlesource.com/c/1303327
    Commit-Queue: Sheng-hao Tsao <shenghao@google.com>
    Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Reviewed-by: default avatarTao Wu <wutao@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#603793}
    1de878d8
arc_app_window.cc 4.55 KB