More logging for swiping to home not working
Bug: 158017601 Change-Id: Ic967e39c6521bbf100015495970fdbfb67c4ea09
This commit is contained in:
parent
bd2e73ce6f
commit
2f53926848
|
@ -36,6 +36,7 @@ import android.view.Surface;
|
|||
|
||||
import com.android.launcher3.R;
|
||||
import com.android.launcher3.ResourceUtils;
|
||||
import com.android.launcher3.testing.TestProtocol;
|
||||
import com.android.launcher3.util.DefaultDisplay;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
|
@ -246,6 +247,10 @@ class OrientationTouchTransformer {
|
|||
}
|
||||
|
||||
boolean touchInValidSwipeRegions(float x, float y) {
|
||||
if (TestProtocol.sDebugTracing) {
|
||||
Log.d(TestProtocol.NO_SWIPE_TO_HOME, "touchInValidSwipeRegions " + x + "," + y + " in "
|
||||
+ mLastRectTouched);
|
||||
}
|
||||
if (mLastRectTouched != null) {
|
||||
return mLastRectTouched.contains(x, y);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue