aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2017-05-03 19:29:31 -0500
committerTao Bao2017-05-03 19:31:11 -0500
commit8be0f39fec7f26164fd0791ff6d15bde65fc849c (patch)
treefa4fca46de414eb53dadacaa629571762147654f /install.cpp
parentec9706738f35a859f66fd0758b73381055804f63 (diff)
downloadplatform-bootable-recovery-8be0f39fec7f26164fd0791ff6d15bde65fc849c.tar.gz
platform-bootable-recovery-8be0f39fec7f26164fd0791ff6d15bde65fc849c.tar.xz
platform-bootable-recovery-8be0f39fec7f26164fd0791ff6d15bde65fc849c.zip
Revert "Remove EXPAND/STRINGIFY macros."
This reverts commit ec9706738f35a859f66fd0758b73381055804f63. Reason for revert: It's not a good idea to put RECOVERY_API_VERSION in common.h, which might be included by device-specific codes (but with RECOVERY_API_VERSION undefined). Change-Id: I9feb9c64a5af3e9165164622a59b043aa28a8b8c
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 2cc06603..689f4a0c 100644
--- a/install.cpp
+++ b/install.cpp
@@ -287,7 +287,7 @@ int update_binary_command(const std::string& path, ZipArchiveHandle zip, int ret
287 287
288 *cmd = { 288 *cmd = {
289 binary, 289 binary,
290 std::to_string(kRecoveryApiVersion), 290 EXPAND(RECOVERY_API_VERSION), // defined in Android.mk
291 std::to_string(status_fd), 291 std::to_string(status_fd),
292 path, 292 path,
293 }; 293 };