diff options
author | Romain Guy <romainguy@google.com> | 2017-06-20 14:45:53 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2017-06-20 16:01:57 -0700 |
commit | adae59b0203fdd3c29c8b0e4e8e2d1cf0cfc2666 (patch) | |
tree | 1dad0c2f06583b155499a2676a1f724b3c187dbb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | bc275085ca67998bd00428bf14aa24560dfa8659 (diff) |
Add Window.isWideColorGamut()
This API returns true when all the following conditions are met:
- The app has requested the window to be in wide color gamut mode
- The display has a wide color gamut
- The device supports wide color gamut rendering
Bug: 62832666
Test: CtsColorModeTest
Change-Id: Idae1527b88959689bb637b6dd4db756d09fabe77
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions