Removing launcher dependency when logging quickstep interaction

as Launcher may not be ready when the touch gesture completes.

Change-Id: Ia69eb7bfb0340f7b7ce9b6c67be8851e5429f867
This commit is contained in:
Sunny Goyal
2018-02-22 10:07:32 -08:00
parent 668dd40a98
commit d70e75a514
7 changed files with 39 additions and 41 deletions
@@ -128,7 +128,7 @@ public class EdgeSwipeController extends VerticalSwipeController implements
// Add user event logging for launcher pipeline
int direction = Direction.UP;
if (mLauncher.getDeviceProfile().isLandscape) {
if (mLauncher.getDeviceProfile().isVerticalBarLayout()) {
direction = Direction.LEFT;
if (mLauncher.getDeviceProfile().isSeascape()) {
direction = Direction.RIGHT;