Merge "Moving some callbacks from LauncherCallbacks to OverviewCallbacks" into ub-launcher3-edmonton

This commit is contained in:
android-build-team Robot
2018-05-02 22:06:10 +00:00
committed by Android (Google) Code Review
7 changed files with 22 additions and 41 deletions

View File

@@ -1155,12 +1155,6 @@ public class Launcher extends BaseDraggingActivity
}
}
public void onQuickstepGestureStarted(boolean isVisible) {
if (mLauncherCallbacks != null) {
mLauncherCallbacks.onQuickstepGestureStarted(isVisible);
}
}
public AllAppsTransitionController getAllAppsController() {
return mAllAppsController;
}

View File

@@ -18,7 +18,6 @@ package com.android.launcher3;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import java.io.FileDescriptor;
import java.io.PrintWriter;
@@ -70,12 +69,4 @@ public interface LauncherCallbacks {
* Extensions points for adding / replacing some other aspects of the Launcher experience.
*/
boolean hasSettings();
/**
* Called when launcher integrated quickstep and some quickstep gesture started. It can be
* called multiple times for a single gesture an UI or background thread.
*
* @param isVisible if Launcher was visible when the gesture started.
*/
void onQuickstepGestureStarted(boolean isVisible);
}