Fix OEM native library path bug.
Bug: 13340779 (cherry picked from commit 7d3328d14bbbee01a9de1ff5b13b0446c709d835) Change-Id: I1b4c5d138cafe3651d475ca1e048f495ff6c5f10
This commit is contained in:
committed by
Narayan Kamath
parent
986b901ae2
commit
66309e2bf7
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user