diff options
author | Narayan Kamath <narayan@google.com> | 2016-05-16 17:34:48 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2016-05-18 12:33:56 +0000 |
commit | 6d99f796711882ba60977c211d0f92252fe7ad4a (patch) | |
tree | a34523d512968c04db231ef6ce890424248f0cd6 /rs/java/android/renderscript/RenderScript.java | |
parent | bbd26bc023992ee7bc6a0e682d4a343dfe3dc848 (diff) |
PackageManager: Fix reference profile canonicalization.
Foreign dex markers are named in the runtime by calling realpath(3) on the input
dexfile path and replacing "/" with "@". On the Java side, we're using
File.getCanonicalPath, which is similar but isn't quite the same. It tries
to call realpath() directly, but if that fails, it resorts to a series of
increasingly desperate measures to calculate a "canonical path". We just
use realpath instead.
Also, don't attempt to delete a profile if canonicalization fails.
bug: 28740848
Change-Id: Ie5d5af590187e793db633342a42b923865e5c005
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions