diff options
| author | 2020-02-07 22:50:36 +0000 | |
|---|---|---|
| committer | 2020-02-07 22:50:36 +0000 | |
| commit | 7b9d08a483e6a81db742eedae02e228e4ad993fe (patch) | |
| tree | 2325268085b5e16d0130a9ed2a5cadfcf99afcd5 | |
| parent | 4cbc5f08d888b622e41195d2016f036bfb5e039c (diff) | |
| parent | 6c7d069509677877d6ae9869e1ea1865c2eacecb (diff) | |
Merge "[dexopt] Allow secondary dex files to generate app images" am: 6c7d069509
Change-Id: I1b428c247e5ba868195cf884701dca9789b818e6
| -rw-r--r-- | cmds/installd/dexopt.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp index f95e445ade..e434afdf82 100644 --- a/cmds/installd/dexopt.cpp +++ b/cmds/installd/dexopt.cpp @@ -1271,11 +1271,6 @@ class Dex2oatFileWrapper { Dex2oatFileWrapper maybe_open_app_image(const char* out_oat_path, bool generate_app_image, bool is_public, int uid, bool is_secondary_dex) { - // We don't create an image for secondary dex files. - if (is_secondary_dex) { - return Dex2oatFileWrapper(); - } - const std::string image_path = create_image_filename(out_oat_path); if (image_path.empty()) { // Happens when the out_oat_path has an unknown extension. |