summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2022-02-16 12:34:35 -0500
committer Miranda Kephart <mkephart@google.com> 2022-02-23 20:02:49 +0000
commit78262f7082ccb80c7ebd462fb7ecdf4b66a1430f (patch)
tree7dd41f20ae1db0cbcb005cbb6592c006b923698c /libs/androidfw/ResourceTimer.cpp
parentf084f35b7a4cdccfa9bdd9605263bbecea7b3d00 (diff)
Set package name explicitly when sending copy intent
We broadcast an intent when starting the copy overlay, which is received by the screenshot process so it knows to dismiss itself. This causes a warning since sending non-protected broadcasts is dangerous. Setting the package name explicitly lets ActivityManagerService determine that the broadcast is safe since it is only sent within SystemUI. Bug: 219958007 Fix: 219958007 Test: manual (observed that error message no longer displayed when copying something to the clipboard) Change-Id: I1072bf7ebac9d8c761af01a5d888941f8ef24b79
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions