Skip to content
Commit eed5b184 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: Icba3763e66b6694d87792315904ed785abe049f6
parent b3c7df68
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