Skip to content

Commit

Permalink
Fix blank lockscreen #3
Browse files Browse the repository at this point in the history
Bug: 17439581
Change-Id: Ic8cb7f32200b541ecc8fa36ad2517975cec0b545
  • Loading branch information
XSJoJo committed Oct 3, 2014
1 parent 1e2e430 commit 449981b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2372,7 +2372,9 @@ public void animateExpandSettingsPanel() {
}

public void animateCollapseQuickSettings() {
mStatusBarView.collapseAllPanels(true);
if (mState == StatusBarState.SHADE) {
mStatusBarView.collapseAllPanels(true);
}
}

void makeExpandedInvisible() {
Expand Down Expand Up @@ -2474,7 +2476,7 @@ public void setWindowState(int window, int state) {
&& mStatusBarWindowState != state) {
mStatusBarWindowState = state;
if (DEBUG_WINDOW_STATE) Log.d(TAG, "Status bar " + windowStateToString(state));
if (!showing) {
if (!showing && mState == StatusBarState.SHADE) {
mStatusBarView.collapseAllPanels(false);
}
}
Expand Down

0 comments on commit 449981b

Please sign in to comment.