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:
@@ -209,6 +209,9 @@ public abstract class PanelView extends FrameLayout {
|
||||
|
||||
public void setTouchDisabled(boolean disabled) {
|
||||
mTouchDisabled = disabled;
|
||||
if (mTouchDisabled && mTracking) {
|
||||
onTrackingStopped(true /* expanded */);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user