commit | ef814b81fc8eefdeb8f3fb37ad1f220b9a4330d3 | [log] [tgz] |
---|---|---|
author | Antony Sargent <asargent@google.com> | Tue Sep 04 14:41:21 2018 -0700 |
committer | Antony Sargent <asargent@google.com> | Wed Sep 05 13:53:29 2018 -0700 |
tree | ebd698f3cd87c9b9ee3908600eb6487dff97b493 | |
parent | d6d4c1681a4c64f33254514248aa671d9b3707f5 [diff] |
Fix Battery Usage graph layout for small screens In PowerGaugePreference, if there isn't an icon to show, we were just adding an empty one, which causes space to be reserved and isn't what we want on small screens. Bug: 111318404 Test: visual (set display size to Larger or Largest, and visit Battery page in settings; the "Last full charge" and Screen usage since full charge" items at the bottom should not be indented) Change-Id: I60d39836ab7d50234022a377ff6d97dde8d4c7db