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