diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-04-14 18:44:30 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-04-18 18:05:02 -0700 |
commit | 54b58ba5cc2c341b39355e265f760fe0654f77a7 (patch) | |
tree | 592d2e3026cd67b3a495e93122ed9d85350b3505 /tools/aapt/ResourceTable.cpp | |
parent | 1e28c8fa337388060dc7f69a835852cab324724d (diff) |
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
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
-rw-r--r-- | tools/aapt/ResourceTable.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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. |