Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53e86ba2 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

Update Configuration#isScreenWideColorGamut doc

Clarify that the method does not imply the screen is color-managed.
A global color transform may still be applied depending on the user
settings, such as night light, accessibility, Boosted, or Stretched.

Bug: 78012876
Test: builds
Change-Id: Ie9cdf455cf4ca93be2357a5313cd63555ab91ff9
parent 05b5cfd4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1905,6 +1905,10 @@ public final class Configuration implements Parcelable, Comparable<Configuration
     * Return whether the screen has a wide color gamut and wide color gamut rendering
     * is supported by this device.
     *
     * When true, it implies the screen is colorspace aware but not
     * necessarily color-managed. The final colors may still be changed by the
     * screen depending on user settings.
     *
     * @return true if the screen has a wide color gamut and wide color gamut rendering
     * is supported, false otherwise
     */