diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-07-12 07:41:55 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-07-12 07:42:01 -0700 |
commit | bb94f32a0042c8e2ab3d6e0de1b693713d2a6eab (patch) | |
tree | db48ae6d8e3dd04f28fa5b17ff1c0efcf1cd36a6 /tools/aapt2/link/AutoVersioner_test.cpp | |
parent | f7f48b17cbdfffa130cdb8991a9c2b09f7659664 (diff) |
Revert "AAPT2: Auto-version adaptive-icon XML"
This reverts commit 5b7337f77cf036dda2c7218ccf22dedc774dcf76.
Bug: 63579299
Test: none
Change-Id: Ib617c4edfc16eeae3507b59b2debeae4f8bbf9a5
Diffstat (limited to 'tools/aapt2/link/AutoVersioner_test.cpp')
-rw-r--r-- | tools/aapt2/link/AutoVersioner_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/link/AutoVersioner_test.cpp b/tools/aapt2/link/AutoVersioner_test.cpp index 88a831b9e801..49639f8ad549 100644 --- a/tools/aapt2/link/AutoVersioner_test.cpp +++ b/tools/aapt2/link/AutoVersioner_test.cpp @@ -42,8 +42,8 @@ TEST(AutoVersionerTest, GenerateVersionedResourceWhenHigherVersionExists) { ResourceEntry entry("foo"); entry.values.push_back(util::make_unique<ResourceConfigValue>(ConfigDescription::DefaultConfig(), "")); - entry.values.push_back(util::make_unique<ResourceConfigValue>(v21_config, "")); entry.values.push_back(util::make_unique<ResourceConfigValue>(sw600dp_v13_config, "")); + entry.values.push_back(util::make_unique<ResourceConfigValue>(v21_config, "")); EXPECT_TRUE(ShouldGenerateVersionedResource(&entry, ConfigDescription::DefaultConfig(), 17)); EXPECT_FALSE(ShouldGenerateVersionedResource(&entry, ConfigDescription::DefaultConfig(), 22)); |