summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-05-17 16:18:27 -0400
committerJohn Spurlock <jspurlock@google.com>2014-05-17 16:18:27 -0400
commite86ae85588f768d40a032b3692ed565bad76d928 (patch)
tree0f62ab7b3755efd54457e72cf8a4219f08f72258 /packages/SystemUI/src
parentf967a5486a78db244624fde4c105aa5e6fa914b9 (diff)
downloadframeworks_base-e86ae85588f768d40a032b3692ed565bad76d928.zip
frameworks_base-e86ae85588f768d40a032b3692ed565bad76d928.tar.gz
frameworks_base-e86ae85588f768d40a032b3692ed565bad76d928.tar.bz2
Set header views to an initial state.
Fixes bug on first boot when security=none. Change-Id: I5f85d3b6f7207f0aea595366c79f5dce892b477c
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
index 2305445..36b063b 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
@@ -86,6 +86,7 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
(ImageView) findViewById(R.id.brightness_icon),
(ToggleSlider) findViewById(R.id.brightness_slider));
loadDimens();
+ updateVisibilities();
}
private void loadDimens() {