diff options
| author | 2018-05-02 10:13:22 -0700 | |
|---|---|---|
| committer | 2018-05-02 10:25:48 -0700 | |
| commit | 53e86ba235f1c290edd53d4d565499d73a0b7f25 (patch) | |
| tree | e379fd9bac45a37b665a4f0b334bdbdf6df3d84c | |
| parent | 05b5cfd453ad3e36fab7d2eb2d93c93b6d41fd1c (diff) | |
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
| -rw-r--r-- | core/java/android/content/res/Configuration.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/content/res/Configuration.java b/core/java/android/content/res/Configuration.java index 19b5c45f3a81..193e56ef404d 100644 --- a/core/java/android/content/res/Configuration.java +++ b/core/java/android/content/res/Configuration.java @@ -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 */ |