diff options
| author | 2021-03-01 14:33:19 -0800 | |
|---|---|---|
| committer | 2021-03-01 14:33:19 -0800 | |
| commit | c8957ee4196b0332259653aa7d83b6a3ea06d61b (patch) | |
| tree | 130794d9415a3a9bd85b6cf327d133e874c1a105 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 8f751f897e5054f5fcbe7c170df9755cb67e041d (diff) | |
Change fps listener permission to allow systemui to use it.
Require READ_FRAME_BUFFER permission instead of ACCESS_SURFACE_FLINGER,
so that systemui is allowed to listen to FPS measurements.
Strictly speaking, the fps listener does not require as strict of
permissions as screenshots because there's no on-screen content, but
systemui is already requesting this permission, and we probably don't
want arbitrary apps to backdoor into this api.
Bug: 174956756
Test: end to end integration test to check that systemui does not crash
when registering the listener.
Change-Id: I9149618950988250ae2649ac5242d5165b5037db
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions