summaryrefslogtreecommitdiffstats
path: root/services/java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-04-24 14:11:08 -0700
committerNarayan Kamath <narayan@google.com>2014-05-01 13:52:33 +0000
commit66309e2bf70607bc0ff2cf5c0769c2a37c4ce76d (patch)
tree5eadeb9932cefb5fb3b012ae9b1b5265e8aaa89d /services/java
parent986b901ae280928e91193527f7c883b296fc62fc (diff)
downloadframeworks_base-66309e2bf70607bc0ff2cf5c0769c2a37c4ce76d.zip
frameworks_base-66309e2bf70607bc0ff2cf5c0769c2a37c4ce76d.tar.gz
frameworks_base-66309e2bf70607bc0ff2cf5c0769c2a37c4ce76d.tar.bz2
Fix OEM native library path bug.
Bug: 13340779 (cherry picked from commit 7d3328d14bbbee01a9de1ff5b13b0446c709d835) Change-Id: I1b4c5d138cafe3651d475ca1e048f495ff6c5f10
Diffstat (limited to 'services/java')
-rwxr-xr-xservices/java/com/android/server/pm/PackageManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/pm/PackageManagerService.java b/services/java/com/android/server/pm/PackageManagerService.java
index 800814d..cb437ed 100755
--- a/services/java/com/android/server/pm/PackageManagerService.java
+++ b/services/java/com/android/server/pm/PackageManagerService.java
@@ -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 {