summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2016-11-10 00:47:48 -0800
committerYohei Yukawa <yukawa@google.com>2016-11-11 03:39:25 +0000
commit3933a6e0c358238302e07bc8782d65f672b88e7b (patch)
tree768f070c503c8d995fb15ccd0bafa9c25b42830f /libs/hwui/ProgramCache.cpp
parent16e67edb366ad9a65d67b473ecc52a2d9e22f060 (diff)
Support content URIs w/ userId in IC#commitContent
With this CL, one can specify a content URI with an embedded user ID to InputContentInfo, like such a URI is supported in Context#grantUriPermission(). Note that such a scenario is actually possible when 1) an application running as User X sets a content URI to the system clipboard then 2) the IME runing as User Y who share the clipboard with User X obtains the content URI from the system and tries to create a new instance of InputContentInfo. Bug: 32427307 Bug: 32778718 Test: 'adb shell dumpsys activity permissions' with a custom IME that instantiates InputContentInfo from the content URI obtained from the clipboard. Change-Id: I7918c0a379b8f3e7e64b106447b42447876f9057
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions