Fixes a bug where the lockscreen would be frozen

When a finger was still on the screen while the screen
turned off the screen could become frozen and only recovered
by launching the camera gesture.

Change-Id: Ie7dea4152adff46f4499d3e8c4ac237f504f21eb
Fixes: 29773218
Fixes: 30154665
This commit is contained in:
Selim Cinek
2016-07-22 18:04:23 -07:00
parent 64be772e03
commit 3127daf036

View File

@@ -209,6 +209,9 @@ public abstract class PanelView extends FrameLayout {
public void setTouchDisabled(boolean disabled) {
mTouchDisabled = disabled;
if (mTouchDisabled && mTracking) {
onTrackingStopped(true /* expanded */);
}
}
@Override