summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2017-02-06 17:18:50 +0000
committerRubin Xu <rubinxu@google.com>2017-02-07 11:30:20 +0000
commit7226c7dc9fd85bdd1639632b0e5761526fdcba30 (patch)
tree90ed6e58a7827095e7eb65592e52da019eac10d1 /tools/aapt2/diff/Diff.cpp
parent451911ea3a324a153a30daa42e30987071fc16ed (diff)
Fix uri permission grant on remote bug report uri
System server is no longer allowed to grant uri permission directly. As a result we use grantUriPermissionFromIntent() to grant permission from the shell UID, who is the owner of the bug report content. Also fix a security bug where the broadcast to notify user consent of remote bug report mismatches the <protected-broadcast> definition, causing it to be sendable by anyone. Bug: 34159108 Test: manual - Install TestDPC and request bugreport, try accept and decline once the report is ready (Bullhead). Change-Id: I66e3f2a16d4547549f09d3c96d52aed2330caedf
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions