commit | 418137e5ef2e72f290df28369a9cbb11fc406811 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Thu Dec 27 09:39:03 2018 -0800 |
committer | Joel Galenson <jgalenson@google.com> | Thu Dec 27 09:56:26 2018 -0800 |
tree | 4160e0a66c80ad154164261a49908434ed31bfe2 | |
parent | 46d40a2b8367b9da8a5216c361f0fded00af3077 [diff] |
Show the bar chart detail after hiding it. In a previous commit I made the bar chart detail text GONE when no text was provided to avoid a crash. But I forgot to mark it visible when text is passed afterwards. This fixes that bug. Test: Create bar chart with an empty detail text, set some text, and then see the detail text. Test: atest com.android.settingslib.widget.BarChartPreferenceTest Change-Id: I4a352245c3dc7b02ab3d1de21c348f2d431e95cf