Native libraries on SD
* Add native library tests during package move * Fix omission that let PackageSettings and ApplicationInfo get out of sync. Change-Id: Ic4958f971cb2c9cfd270522fdc120b4031c1124a
This commit is contained in:
@@ -9833,6 +9833,7 @@ class PackageManagerService extends IPackageManager.Stub {
|
||||
ps.codePathString = ps.codePath.getPath();
|
||||
ps.resourcePath = new File(pkg.applicationInfo.publicSourceDir);
|
||||
ps.resourcePathString = ps.resourcePath.getPath();
|
||||
ps.nativeLibraryPathString = newNativePath;
|
||||
// Set the application info flag correctly.
|
||||
if ((mp.flags & PackageManager.INSTALL_EXTERNAL) != 0) {
|
||||
pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE;
|
||||
|
||||
Reference in New Issue
Block a user