diff options
author | Rubin Xu <rubinxu@google.com> | 2017-02-06 17:18:50 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2017-02-08 10:15:48 +0000 |
commit | ca53b27c3407e71b74a7771f2d03ad111e2dcca2 (patch) | |
tree | af365c2f6cfe44fe27d162fd7516e03d121869aa /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 43f79eec8be1af10013d906869af289aaca6520d (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).
Merged-In: I66e3f2a16d4547549f09d3c96d52aed2330caedf
Change-Id: I66e3f2a16d4547549f09d3c96d52aed2330caedf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions