summaryrefslogtreecommitdiffstats
path: root/core/tests
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-10-05 12:29:25 -0700
committerKenny Root <kroot@google.com>2010-10-05 12:56:03 -0700
commit831baa2e2566bf1d243c06918672abd5ff786105 (patch)
tree9d3c02281f0185abc21b7127a4c026026c496fcc /core/tests
parent8735c4cda00de26127d694bfbc81e192c4caca44 (diff)
downloadframeworks_base-831baa2e2566bf1d243c06918672abd5ff786105.zip
frameworks_base-831baa2e2566bf1d243c06918672abd5ff786105.tar.gz
frameworks_base-831baa2e2566bf1d243c06918672abd5ff786105.tar.bz2
Remove lingering system app native libs in /data
If a system app had a lingering native library in /data/data/<app>/lib, it would prefer that over the one in /system/lib due to recent changed in the Dalvik JNI class loading code. To "fix" that we need to check if there are any native libraries in a /data/data/<app>/lib directory for any non-updated system apps and delete them during scanning. Change-Id: If3a22e41a8531e9e5a44ba001dcea46253d47d45
Diffstat (limited to 'core/tests')
-rwxr-xr-xcore/tests/coretests/src/android/content/pm/PackageManagerTests.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/tests/coretests/src/android/content/pm/PackageManagerTests.java b/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
index 1289a9e..276e281 100755
--- a/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
+++ b/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
@@ -579,7 +579,6 @@ public class PackageManagerTests extends AndroidTestCase {
private InstallParams installFromRawResource(String outFileName,
int rawResId, int flags, boolean cleanUp, boolean fail, int result,
int expInstallLocation) {
- PackageManager pm = mContext.getPackageManager();
InstallParams ip = new InstallParams(outFileName, rawResId);
installFromRawResource(ip, flags, cleanUp, fail, result, expInstallLocation);
return ip;