Fix crash due to bad maxLines defined for dialog titles on watch type devices.

Misuse of @empty which explicitly sets the value to null, and should only be used
for objects. Replaced with @null which more accurately means undefined value.

Bug: 38431435
Change-Id: I6a59fc52c2ef9626c561f5bc344c588d22111f6e
This commit is contained in:
Michael Kwan
2017-05-22 18:13:13 -07:00
parent 78af0424fe
commit 518ae84c2b

View File

@@ -95,7 +95,7 @@ please see styles_device_defaults.xml.
</style>
<style name="DialogWindowTitle.Material">
<item name="maxLines">@empty</item>
<item name="maxLines">@null</item>
<item name="scrollHorizontally">false</item>
<item name="textAppearance">@style/TextAppearance.Material.DialogWindowTitle</item>
<item name="gravity">center_horizontal|top</item>