summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2019-03-28 17:01:07 -0700
committerRyan Mitchell <rtmitchell@google.com>2019-04-24 16:22:51 +0000
commit01b8b68db77a22004168dd302ea1a4b2a5043b78 (patch)
tree98a2d21028f9dc482a78ddb29905ea2d168eac10 /res/values
parent5caa017236ffab583fbe47c57d0256ee68a3faba (diff)
downloadandroid_packages_apps_Trebuchet-01b8b68db77a22004168dd302ea1a4b2a5043b78.tar.gz
android_packages_apps_Trebuchet-01b8b68db77a22004168dd302ea1a4b2a5043b78.tar.bz2
android_packages_apps_Trebuchet-01b8b68db77a22004168dd302ea1a4b2a5043b78.zip
Rename launcher:iconSize attribute to prevent overriding material
A previous change [1] introduced the material library as a static library for the SecondaryDisplayLauncher. The material library defines a resource "attr/iconSize" with format="dimension" while Launcher3 defines a resource of the same name with format="float". The material resource is being overriden by the Launcher3 resource and is preventing aapt2 from disallowing multiple definitions of the same attribute with different formats. This change renames the Launcher3 iconSize so it will not collide with the material resource. [1] If183dd35a1d197c4a9a8225a021e36c4f1662587 Bug: 129146717 Test: build success and inspection of generated apk Change-Id: I5eb54ea606ddcfb47d5150b44906a8707203e905
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 465504c25..43194d5cb 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -123,7 +123,7 @@
<attr name="minWidthDps" format="float" />
<attr name="minHeightDps" format="float" />
- <attr name="iconSize" format="float" />
+ <attr name="iconImageSize" format="float" />
<!-- landscapeIconSize defaults to iconSize, if not specified -->
<attr name="landscapeIconSize" format="float" />
<attr name="iconTextSize" format="float" />