summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Robert Horvath <robhor@google.com> 2022-04-21 17:52:46 +0200
committer Robert Horvath <robhor@google.com> 2022-05-02 15:19:43 +0200
commitd1122015868a4473632467c4b5e1fc70b3a15605 (patch)
treef6edf1ba003bbbd1f16248fabc0adfc162045a49 /libs/input/PointerController.cpp
parent2b6a23400cca111c5bb05e5a58eef30c87b72764 (diff)
Batch log access requests from same client
For multiple log access requests from the same client (same UID + package name) within a short timeframe, show only one confirmation prompt to the user. When access has been approved/denied, further requests will automatically be approved/denied until another timeout expires, after which a new request will show a prompt again. If the prompt is shown but the request isn't approved or denied within a certain time, the client will automatically be denied access. Moved the approve/decline methods out of ILogcatManagerService into a local service, so that they can only be called from within the system server. Bug: 229976778 Test: atest FrameworksServicesTests:LogcatManagerServiceTest Change-Id: I6a3f56bdcbb84e64b1b24e73476bd24f32b75f24
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions