summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-14 03:15:04 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-14 03:15:04 +0200
commit7abc548deac3be5c9baa8c1d2ad1a4a752787701 (patch)
tree4ccc3ee433270f7ec922e7e6d04aa553577c734d /install.cpp
parentImport translations. DO NOT MERGE (diff)
parentMerge "Remove EXPAND/STRINGIFY macros." am: 6e7df82c7b am: ad878d5494 (diff)
downloadandroid_bootable_recovery-7abc548deac3be5c9baa8c1d2ad1a4a752787701.tar
android_bootable_recovery-7abc548deac3be5c9baa8c1d2ad1a4a752787701.tar.gz
android_bootable_recovery-7abc548deac3be5c9baa8c1d2ad1a4a752787701.tar.bz2
android_bootable_recovery-7abc548deac3be5c9baa8c1d2ad1a4a752787701.tar.lz
android_bootable_recovery-7abc548deac3be5c9baa8c1d2ad1a4a752787701.tar.xz
android_bootable_recovery-7abc548deac3be5c9baa8c1d2ad1a4a752787701.tar.zst
android_bootable_recovery-7abc548deac3be5c9baa8c1d2ad1a4a752787701.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 586dbbe2c..507161c2e 100644
--- a/install.cpp
+++ b/install.cpp
@@ -290,7 +290,7 @@ int update_binary_command(const std::string& package, ZipArchiveHandle zip,
*cmd = {
binary_path,
- EXPAND(RECOVERY_API_VERSION), // defined in Android.mk
+ std::to_string(kRecoveryApiVersion),
std::to_string(status_fd),
package,
};