* commit 'abc4db312aa6e5287b5abbd2d201f10d642fca7d': Doze: Log screenOnFromTouch when flinging.
This commit is contained in:
@@ -95,10 +95,11 @@ public class DozeLog {
|
||||
log("dozing " + dozing);
|
||||
}
|
||||
|
||||
public static void traceFling(boolean expand, boolean aboveThreshold, boolean thresholdNeeded) {
|
||||
public static void traceFling(boolean expand, boolean aboveThreshold, boolean thresholdNeeded,
|
||||
boolean screenOnFromTouch) {
|
||||
if (!ENABLED) return;
|
||||
log("fling expand=" + expand + " aboveThreshold=" + aboveThreshold + " thresholdNeeded="
|
||||
+ thresholdNeeded);
|
||||
+ thresholdNeeded + " screenOnFromTouch=" + screenOnFromTouch);
|
||||
}
|
||||
|
||||
public static void traceEmergencyCall() {
|
||||
|
||||
@@ -337,7 +337,8 @@ public abstract class PanelView extends FrameLayout {
|
||||
boolean expand = flingExpands(vel, vectorVel);
|
||||
onTrackingStopped(expand);
|
||||
DozeLog.traceFling(expand, mTouchAboveFalsingThreshold,
|
||||
mStatusBar.isFalsingThresholdNeeded());
|
||||
mStatusBar.isFalsingThresholdNeeded(),
|
||||
mStatusBar.isScreenOnComingFromTouch());
|
||||
fling(vel, expand);
|
||||
mUpdateFlingOnLayout = expand && mPanelClosedOnDown && !mHasLayoutedSinceDown;
|
||||
if (mUpdateFlingOnLayout) {
|
||||
|
||||
Reference in New Issue
Block a user