custom theme: Fix the install custom theme
Change-Id: I639bfdac46cbe5a0d9760d1b62fd5f9875b63994
This commit is contained in:
@@ -354,7 +354,7 @@ int TWinstall_zip(const char* path, int* wipe_cache, bool check_for_digest) {
|
||||
} else {
|
||||
std::string binary_name("ui.xml");
|
||||
ZipEntry64 binary_entry;
|
||||
if (FindEntry(Zip, binary_name, &binary_entry) != 0) {
|
||||
if (FindEntry(Zip, binary_name, &binary_entry) == 0) {
|
||||
LOGINFO("TWRP theme zip\n");
|
||||
ret_val = Install_Theme(path, Zip);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user