From 54b58ba5cc2c341b39355e265f760fe0654f77a7 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Fri, 14 Apr 2017 18:44:30 -0700 Subject: Fix issue with unresolved IDs in adaptive icons Adaptive icons were versioned correctly, but skipped the compilation / resource ID assignment phase. This CL fixes the glitch. Bug: 34829129 Test: manual Change-Id: I93739a8b10fac53a048d95b330edf381684a807c --- tools/aapt/ResourceTable.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/aapt/ResourceTable.cpp') diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp index 221f3c2cd0c3..52b93a945433 100644 --- a/tools/aapt/ResourceTable.cpp +++ b/tools/aapt/ResourceTable.cpp @@ -4832,8 +4832,7 @@ bool ResourceTable::versionForCompat(const Bundle* bundle, const String16& resou item.resPath = resPath; item.file = newFile; item.xmlRoot = root->clone(); - item.needsCompiling = false; // This step occurs after we parse/assign, so we don't need - // to do it again. + item.needsCompiling = true; mWorkQueue.push(item); // Now mark the old entry as deleted. -- cgit v1.2.3-59-g8ed1b