Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f29d8c2 authored by vadimt's avatar vadimt
Browse files

Additional logging for swiping to home not working

Bug: 158017601
Change-Id: I16bf098cf53d7fc8402533456ad02dbf099a4638
parent 19fc8b6a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -292,10 +292,16 @@ class OrientationTouchTransformer {

                for (int i = 0; i < MAX_ORIENTATIONS; i++) {
                    OrientationRectF rect = mSwipeTouchRegions.get(i);
                    if (TestProtocol.sDebugTracing) {
                        Log.d(TestProtocol.NO_SWIPE_TO_HOME, "transform:DOWN, rect=" + rect);
                    }
                    if (rect == null) {
                        continue;
                    }
                    if (rect.applyTransform(event, false)) {
                        if (TestProtocol.sDebugTracing) {
                            Log.d(TestProtocol.NO_SWIPE_TO_HOME, "setting mLastRectTouched");
                        }
                        mLastRectTouched = rect;
                        mLastRectRotation = rect.mRotation;
                        if (mEnableMultipleRegions && mCurrentDisplayRotation == mLastRectRotation) {