summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2019-04-29 16:04:41 -0700
committerPeiyong Lin <lpy@google.com>2019-05-01 16:58:13 -0700
commit0686afa15a0c2f3666246977ebd1db37e640ebad (patch)
tree8cd24ce2128c7bb3e08b7549223cac9d194b6c37 /identity/support/src/cppbor_parse.cpp
parentef85db2b657380bddd28ea16b4421bcf1cd77ed8 (diff)
Return display capability if getDisplayBrightnessSupport is not registered.
If getDisplayBrightnessSupport is not registered, there are two possibilities, one is it's not supported at all, the other is that the support is returned in getDisplayCapabilities. And thus we need to check getDisplayCapabilities, and we return UNSUPPORTED always in this case. This patch also allows getPerFrameMetadataKeys to return UNSUPPORTED on non-HDR capable devices. BUG: 131595097 Test: Build, boot. Change-Id: Ied302b1ac702dd94e039f1081d5420395c1bfbf4
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions