DEXOPT_FORCE may be passed for primary apk as well. am: 2ab108c5be
am: b77cb8b653
Change-Id: I83f8e20747b6f001a7ec44a1f708d71811a81f51
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp
index 618884b..aa32d6b 100644
--- a/cmds/installd/dexopt.cpp
+++ b/cmds/installd/dexopt.cpp
@@ -1422,7 +1422,6 @@
} else {
// Currently these flags are only use for secondary dex files.
// Verify that they are not set for primary apks.
- CHECK((dexopt_flags & DEXOPT_FORCE) == 0);
CHECK((dexopt_flags & DEXOPT_STORAGE_CE) == 0);
CHECK((dexopt_flags & DEXOPT_STORAGE_DE) == 0);
}