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
Loading
Please register or sign in to comment