summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-08-15 12:00:28 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-08-15 04:32:23 +0000
commit5dc4a440d17a15a1717c7c70a66e012bce6bb25c (patch)
treea2011d3560529cd398c8572353df6d176fc3520d /core
parent1e7bc0def8c62b91d3eb985a51bec54063ce83f5 (diff)
parent6c4b9de8f1fd594038793c3924b52a44138c319e (diff)
downloadframeworks_base-5dc4a440d17a15a1717c7c70a66e012bce6bb25c.zip
frameworks_base-5dc4a440d17a15a1717c7c70a66e012bce6bb25c.tar.gz
frameworks_base-5dc4a440d17a15a1717c7c70a66e012bce6bb25c.tar.bz2
Merge "Validate instruction sets passed to installd." into lmp-dev
Diffstat (limited to 'core')
-rw-r--r--core/java/android/app/LoadedApk.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/java/android/app/LoadedApk.java b/core/java/android/app/LoadedApk.java
index 24c2835..aa1f021 100644
--- a/core/java/android/app/LoadedApk.java
+++ b/core/java/android/app/LoadedApk.java
@@ -262,10 +262,6 @@ public final class LoadedApk {
if (!Objects.equals(mPackageName, ActivityThread.currentPackageName())) {
final String isa = VMRuntime.getRuntime().vmInstructionSet();
try {
- // TODO: We can probably do away with the isa argument since
- // the AM and PM have enough information to figure this out
- // themselves. If we do need it, we should match it against the
- // list of devices ISAs before sending it down to installd.
ActivityThread.getPackageManager().performDexOptIfNeeded(mPackageName, isa);
} catch (RemoteException re) {
// Ignored.