Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f065032f authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Installd: Fix bad merge

Don't cut off the leading dex location character.

Bug: 25612095
Change-Id: Iad556a0bb48c57f3c68ee75ee41f14e88d96b1a8
parent afa58d17
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1657,11 +1657,6 @@ int dexopt(const char* apk_path, uid_t uid, const char* pkgname, const char* ins
        } else if (dexopt_needed == DEXOPT_DEX2OAT_NEEDED) {
            // Pass dex2oat the relative path to the input file.
            const char *input_file_name = get_location_from_path(input_file);
            if (input_file_name == NULL) {
                input_file_name = input_file;
            } else {
                input_file_name++;
            }
            run_dex2oat(input_fd.get(),
                        out_fd.get(),
                        image_fd.get(),