• Chris Blume's avatar
    Add Andtroid Q gate to wide color gamut · ea5c2db1
    Chris Blume authored
    Right now, we first check if the user is in the enabled feature group when
    enabling wide color gamut. After that, we check if they are on a version
    of Android that supports wide color gamut. This results in users in the
    enabled group who aren't actually seeing wide colors.
    
    This CL checks if the user is on a supported version of Android before
    checking which group they are in. That should give us more accurate
    results when looking at the effect of the experiment.
    
    Bug: 1136572
    Change-Id: Ied060b1036bba67a0c90a45f1f8e1dc106af4aea
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462218
    Commit-Queue: Chris Blume <cblume@chromium.org>
    Commit-Queue: Khushal <khushalsagar@chromium.org>
    Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#815324}
    ea5c2db1
features.cc 5.63 KB