Installd: Fix bad merge
Don't cut off the leading dex location character.
Bug: 25612095
Change-Id: Iad556a0bb48c57f3c68ee75ee41f14e88d96b1a8
diff --git a/cmds/installd/commands.cpp b/cmds/installd/commands.cpp
index 5ce01f1..7ef0c6b 100644
--- a/cmds/installd/commands.cpp
+++ b/cmds/installd/commands.cpp
@@ -1657,11 +1657,6 @@
} 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(),