diff options
| author | 2019-02-19 09:53:39 +0000 | |
|---|---|---|
| committer | 2019-02-19 09:53:39 +0000 | |
| commit | cf867594cf11c27855578d9554658f3fbee4e32f (patch) | |
| tree | 33d35b0aa30afcb93fde866460a8220d5c68c1cd | |
| parent | 0119e28e9e7694e9398af8de92ead519e3806933 (diff) | |
| parent | d458a4f956193afdb52138606f6e61fc00b363bf (diff) | |
Merge "dexopt: Fix target-sdk-version argument creation"
| -rw-r--r-- | cmds/installd/dexopt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp index 852aa799fb..15b619ad59 100644 --- a/cmds/installd/dexopt.cpp +++ b/cmds/installd/dexopt.cpp @@ -366,7 +366,7 @@ class RunDex2Oat : public ExecVHelper { std::string dex2oat_image_fd; std::string target_sdk_version_arg; if (target_sdk_version != 0) { - StringPrintf("-Xtarget-sdk-version:%d", target_sdk_version); + target_sdk_version_arg = StringPrintf("-Xtarget-sdk-version:%d", target_sdk_version); } std::string class_loader_context_arg; if (class_loader_context != nullptr) { |