commit | 5180e4673116dd2b5fb46db6ab554b3f5e6feed4 | [log] [tgz] |
---|---|---|
author | Brian Stack <bstack@google.com> | Fri Mar 08 17:15:19 2019 -0800 |
committer | Brian Stack <bstack@google.com> | Fri Mar 08 17:16:46 2019 -0800 |
tree | 83299b818a6801c69e7c5ed91d49173ee454ae4f | |
parent | 3d694145126c794a1d47f4d05164756307a79cf8 [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