Skip to content
Commit 7105ecc6 authored by Nikita Dubrovsky's avatar Nikita Dubrovsky
Browse files

Add READ_CLIPBOARD_IN_BACKGROUND to the SYSTEM_TEXT_INTELLIGENCE role

Android System Intelligence is allowed to read the clipboard in the
background. Previously this was relying on a special case in
ClipboardService, checking that the calling package is the provider of
ContentCaptureService. In order to remove this special case, we add the
permission READ_CLIPBOARD_IN_BACKGROUND to the role
android.app.role.SYSTEM_TEXT_INTELLIGENCE which is held by Android
System Intelligence.

Bug: 216314180
Test: Presubmit
Change-Id: I638eec7eb31b53a5e5db5a093428326e615eadb5
parent ce05cb8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment