summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Brian Stack <bstack@google.com> 2019-03-08 17:15:19 -0800
committer Brian Stack <bstack@google.com> 2019-03-08 17:16:46 -0800
commit5180e4673116dd2b5fb46db6ab554b3f5e6feed4 (patch)
tree83299b818a6801c69e7c5ed91d49173ee454ae4f /libs/gui/BufferQueueThreadState.cpp
parent3d694145126c794a1d47f4d05164756307a79cf8 (diff)
Fix inverted logic in isOperationRestricted
SensorService::isOperationRestricted incorrectly returned 'true' whenever the Sensor Service was in normal mode and an application was not whitelisted. This patch corrects the logic and updates the function's name to be isOperationPermitted to avoid confusion. Bug: 128028800 Test: CTS Direct Channel tests pass Change-Id: Ia1684be54c1c7c0db81d8fcb2780fd2583a35537
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions