custom theme: fix libziparchive loading of custom themes
Change-Id: Ia23a9dcd24fcbb61cb5e1df366a4325d20d777b2
This commit is contained in:
+2
-1
@@ -54,9 +54,10 @@ bool ExtractPackageRecursive(ZipArchiveHandle zip, const std::string& zip_path,
|
||||
if (!zip_path.empty() && zip_path.back() != '/') {
|
||||
prefix_path += '/';
|
||||
}
|
||||
const std::string zip_prefix(prefix_path.c_str());
|
||||
|
||||
const std::string zip_prefix(prefix_path.c_str());
|
||||
int ret = StartIteration(zip, &cookie, zip_prefix, nullptr);
|
||||
|
||||
if (ret != 0) {
|
||||
LOG(ERROR) << "failed to start iterating zip entries.";
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user