OSDN Git Service

Fix overlap between operator name and heads-up notification
authorTetsutoki Shiozawa <tetsutoki.shiozawa@sony.com>
Wed, 5 Sep 2018 04:17:01 +0000 (13:17 +0900)
committerSelim Cinek <cinek@google.com>
Mon, 15 Oct 2018 20:52:21 +0000 (20:52 +0000)
commitf1e0f7adadfd11bc4a34cbd754a96ae6df7ae689
tree3fd70cff60951f9b6cbd5c517b98b1148f7258b4
parent58d5c1e938b42b9e82e77738a54941d5c7ecb8e2
Fix overlap between operator name and heads-up notification

The title of heads-up notification was shown incompletely
becaue it's covered by operator name.
To fix this issue, the operator name should be hidden
when a heads-up notification is shown.

Fixes: b/116533819
Test: atest SystemUITests
Test: manual - enable config_showOperatorNameInStatusBar
               and show a heads-up notification

Merged-In: Id3318cd7cb2c9b6950392fadd11d02ab873d84c5
Change-Id: Id3318cd7cb2c9b6950392fadd11d02ab873d84c5
packages/SystemUI/res/layout/status_bar.xml
packages/SystemUI/src/com/android/systemui/statusbar/phone/HeadsUpAppearanceController.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/HeadsUpAppearanceControllerTest.java