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