diff options
author | Hector Dearman <hjd@google.com> | 2018-11-09 18:11:07 +0000 |
---|---|---|
committer | Hector Dearman <hjd@google.com> | 2018-11-15 00:41:12 +0000 |
commit | ad4506ae090c313891baee35f0182f91e1f967a5 (patch) | |
tree | b6fc856f171b2269e0d56bb06db29451cfde4104 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0c9e5fe0048c5c4440c413d9df15a48a935c5d70 (diff) |
Prevent clock becoming visible when icon disabled
When the status bar clock is disabled (via a "clock" entry in icon_blacklist
setting) it could mistakenly reappear due to
CollapsedStatusBarFragment#animateShow (which directly modifies the
visibility of the view via setVisibility). Prevent this by overriding
setVisibility to stop the view becoming visible when it should be
it should be hidden.
Test: am start com.android.systemui/com.android.systemui.DemoMode
Status bar > Toggle Clock to "don't show"
(Status bar clock should disappear)
Pull down shade
(Status bar clock should remain gone)
Bug: b/113087760 (See 2.)
Change-Id: I8537fec1f29c928cdf21a60c209cfb8ac86cc95a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions