Fix OEM native library path bug.

Bug: 13340779

(cherry picked from commit 7d3328d14bbbee01a9de1ff5b13b0446c709d835)

Change-Id: I1b4c5d138cafe3651d475ca1e048f495ff6c5f10
This commit is contained in:
Jeff Sharkey
2014-04-24 14:11:08 -07:00
committed by Narayan Kamath
parent 986b901ae2
commit 66309e2bf7

View File

@@ -5246,7 +5246,7 @@ public class PackageManagerService extends IPackageManager.Stub {
if (FileUtils.contains(Environment.getRootDirectory(), codePath)) {
codeRoot = Environment.getRootDirectory();
} else if (FileUtils.contains(Environment.getOemDirectory(), codePath)) {
codeRoot = Environment.getRootDirectory();
codeRoot = Environment.getOemDirectory();
} else if (FileUtils.contains(Environment.getVendorDirectory(), codePath)) {
codeRoot = Environment.getVendorDirectory();
} else {