summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eun-Jeong Shin <eunjeongshin@google.com> 2022-02-28 12:37:22 +0000
committer Eun-Jeong Shin <eunjeongshin@google.com> 2022-03-08 05:09:55 +0000
commit8e094fb3c712e8540b2614d399c4cca378d4a045 (patch)
treed08ddea855ac5a4d993270b849fdedf18fd56788 /libs/androidfw/StringPool.cpp
parent892cf8246f7ad3a74a28321020796acadcb8c2c7 (diff)
Generate user consent dialog for device log access
This change is to implement dialog instead of generating notification when device log access is requested. The LogcatManagerService checks if logd access is coming from background or foreground. If the requester is foreground, the LogcatManagerService generates a dialog to obtain user consent. If the user grants access, the LogcatManagerService approves full device log access. If the user does not grant access, the LogcatManagerService denies full device log access. If the requester is background, the LogcatManagerService denies full device log access. Consent dialog times out if there is no user action for 5 minutes and the LogcatManagerService denies full device log access. This codebase is the continuity of the implementation ag/16618162 to obtain user consent and improvement of ag/16673548 Bug: 193708292 Test: CtsVerifier Ignore-AOSP-First: pending fix for logcat privacy issue Change-Id: I708ca651a655fc5725dfac035ac27e7fd3ed27f6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions