Skip to content

Commit

Permalink
SystemUI: fix double tap to sleep not working with secure lock screen
Browse files Browse the repository at this point in the history
Double tap to sleep on status bar would only work on secure lockscreens if the
slider brightness control was enabled.

Change-Id: I7c4dc5b2f559aafae819422d747f92ac59631ffd
Signed-off-by: Roman Birg <[email protected]>
  • Loading branch information
romanbb committed Jul 11, 2014
1 parent a9d56a1 commit c7a4aa9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2395,9 +2395,9 @@ public boolean interceptTouchEvent(MotionEvent event) {

if (mBrightnessControl) {
brightnessControl(event);
if ((mDisabled & StatusBarManager.DISABLE_EXPAND) != 0) {
return true;
}
}
if ((mDisabled & StatusBarManager.DISABLE_EXPAND) != 0) {
return true;
}

if (mStatusBarWindowState == WINDOW_STATE_SHOWING) {
Expand Down

0 comments on commit c7a4aa9

Please sign in to comment.