summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-10-19 15:40:03 -0600
committerJeff Sharkey <jsharkey@android.com>2018-10-20 15:14:22 -0600
commitd2b64d70189f3451aa1f7e018274dbc4c3529bf1 (patch)
treec6fdc839fc2ad6c2ce488ee611ae73a2510d555a /opengl/java
parent5b3a6a81871925ff9a6fdcee2f90aa8a09b87670 (diff)
Add ContentProvider.clearCallingIdentity().
ContentProvider has a getCallingPackage() method, which verifies the remote package name against the current Binder identity. When a provider wants to clear that IPC identity, they need to clear both the Binder state and the ContentProvider.getCallingPackage() state together, so add methods to facilitate that. Also fix subtle bug so we don't try translating relative paths. Bug: 117627072 Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore* Change-Id: Ifa3e1f745334abf625fdcc314b308a047c49ce73
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions