commit | b4775b02a7a5cff437f3d9b4e2d45b72d79ed493 | [log] [tgz] |
---|---|---|
author | Kriti Dang <kritidang@google.com> | Wed Nov 25 14:29:51 2020 +0100 |
committer | Kriti Dang <kritidang@google.com> | Thu Mar 25 12:41:35 2021 +0000 |
tree | c6464711a496e7b54865350b903c4224c02605ad | |
parent | 16828074ec56fe8a2393bfcbf341cbdbaddd07cf [diff] |
Hdr format settings [Backend] Added new APIs to DisplayManager to set the user disabled HDR formats, and get/set if user disabled formats should be ignored or not. These new settings are stored in Settings.Global. Modified the implementation of Display#getHdrCapabilities to not return the formats disabled by user. Bug: 172905874 Test: atest CtsDisplayTestCases Change-Id: I4841af251ee0e4938614b154d0c5239814ea7cd9 Merged-In: I4841af251ee0e4938614b154d0c5239814ea7cd9