Merge "Link 32bit native libraries only if libs exist"
This commit is contained in:
committed by
Android (Google) Code Review
commit
b4815c095f
@@ -293,6 +293,9 @@ final class AppDataHelper {
|
||||
String primaryCpuAbi = AndroidPackageUtils.getPrimaryCpuAbi(pkg, pkgSetting);
|
||||
if (primaryCpuAbi != null && !VMRuntime.is64BitAbi(primaryCpuAbi)) {
|
||||
final String nativeLibPath = pkg.getNativeLibraryDir();
|
||||
if (!(new File(nativeLibPath).exists())) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
mInstaller.linkNativeLibraryDirectory(volumeUuid, packageName,
|
||||
nativeLibPath, userId);
|
||||
|
||||
Reference in New Issue
Block a user