summaryrefslogtreecommitdiffstats
path: root/install/install.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-06-12 21:20:37 +0200
committerElliott Hughes <enh@google.com>2019-06-12 21:20:37 +0200
commit39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb (patch)
tree705218ad6dc1eb08ec3cadb152cc362c15c34697 /install/install.cpp
parentMerge "minadbd: Support `adb rescue getprop`." (diff)
downloadandroid_bootable_recovery-39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb.tar
android_bootable_recovery-39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb.tar.gz
android_bootable_recovery-39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb.tar.bz2
android_bootable_recovery-39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb.tar.lz
android_bootable_recovery-39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb.tar.xz
android_bootable_recovery-39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb.tar.zst
android_bootable_recovery-39ac1c013c9c127c0ff8ad73b9cc2fbcc7f06ecb.zip
Diffstat (limited to '')
-rw-r--r--install/install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/install.cpp b/install/install.cpp
index 8d46641dc..445f3ab34 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -539,7 +539,7 @@ bool verify_package_compatibility(ZipArchiveHandle package_zip) {
std::vector<std::string> compatibility_info;
ZipEntry info_entry;
- std::string info_name;
+ std::string_view info_name;
while (Next(cookie, &info_entry, &info_name) == 0) {
std::string content(info_entry.uncompressed_length, '\0');
int32_t ret = ExtractToMemory(zip_handle, &info_entry, reinterpret_cast<uint8_t*>(&content[0]),