diff options
| author | eunjeongshin <eunjeongshin@google.com> | 2022-01-19 19:58:01 +0000 |
|---|---|---|
| committer | eunjeongshin <eunjeongshin@google.com> | 2022-02-01 17:09:30 +0000 |
| commit | b4f8ed9bb8a94575989d689d37be523ee99bc589 (patch) | |
| tree | b96803284d77e564e02fa306831dd0666d60e1a9 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 8a0a4e6daf1ee2d9600974cd912db17e637ba20d (diff) | |
User consent for Logcat data access
The LogcatManagerService checks if logd access is coming
from background or foreground.
If the requester is foreground, the LogcatManagerService
generates a notification to get user consent. If the user grants access,
the LogcatManagerService approves logd access. If the user
does not grant access, the LogcatManagerService denies logd access.
If the requester is background, the LogcatManagerService waits
to observe process status change. If the
process status updates to foreground from background,
LogcatManagerService sends a notification to get user consent.
If the process remains background, the LogcatManagerService denies logd access.
This codebase is the continuity of the implementation ag/16618162 to
obtain user consent.
Bug: 193708292
Test: CtsVerifier
Ignore-AOSP-First: pending fix for logcat privacy issue
Change-Id: I4103c72daebdea5e8f04ab4901c05be2f1aefc84
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
