More logging for swiping to home not working

Bug: 158017601
Change-Id: Ic967e39c6521bbf100015495970fdbfb67c4ea09
This commit is contained in:
vadimt 2020-06-02 18:45:20 -07:00
parent bd2e73ce6f
commit 2f53926848
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}