Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c8957ee4 authored by Alec Mouri's avatar Alec Mouri
Browse files

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
parent 8f751f89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment