summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorPeter Cai <peter@typeblog.net>2019-05-22 13:01:01 +0800
committerSelim Cinek <cinek@google.com>2019-05-23 12:24:14 -0700
commita8178f545412eefa732578b30860863fe628bc56 (patch)
treed632a04ed3d6c8023a04fbb37701ee1eefbff97f /startop/scripts/lib/cmd_utils.py
parentf4d733405e47e8c541b120957f75bef62eb25a2b (diff)
HeadsUpAppearanceController: allow heads-up to draw beyond bounds
On some devices with huge `rounded_corner_content_padding`, the icon of heads-up notifications will be clipped or even completely removed from view. This is caused by `HeadsUpStatusBarView` trying to align the heads-up icon with where the icon would be on a normal notification card, which would end up outside of the status bar contents view when `rounded_corner_content_padding` is set to beyond a certain value. This patch fixes the problem by allowing heads-up content to overflow the normal status bar content region when it is shown. As long as the rounded corner is not too huge, the aligning position of the icon should not be a problem of its own. Fixes: 131813566 Test: atest SystemUiTests Change-Id: I0fb8856c301a438ca87b06fcdbcf5323d9cda18c
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions