diff options
author | 2020-10-28 13:18:02 -0700 | |
---|---|---|
committer | 2020-11-02 09:44:32 -0800 | |
commit | 883748c54d4227a03564a639d1b62c2b1076a802 (patch) | |
tree | c3946b8d0449a51b939182bf9279afda14b2fd82 /libs/gui/SurfaceComposerClient.cpp | |
parent | 08a8d53960e91d453ab479e6f41eb8c46a556d1f (diff) |
Use updated AppOps API in SensorService
- Pass the "message" field to the noteOp call.
- Removes the noteOp call except when delivering sensor samples.
- Restructures code to only call checkOp when necessary.
Bug: 160153221
Test: Modify SensorLogger to log on onAsyncNoted() and verify
message gets displayed
Change-Id: I042afb5304150cf5067fdea4f8926b60e64a46e0
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions