summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authoreunjeongshin <eunjeongshin@google.com>2022-01-19 19:58:01 +0000
committereunjeongshin <eunjeongshin@google.com>2022-02-01 17:09:30 +0000
commitb4f8ed9bb8a94575989d689d37be523ee99bc589 (patch)
treeb96803284d77e564e02fa306831dd0666d60e1a9 /core/java/android/inputmethodservice/InputMethodService.java
parent8a0a4e6daf1ee2d9600974cd912db17e637ba20d (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