Adding callback to notify LauncherCallbacks when quickstep starts

Bug: 73081875
Change-Id: Ieccba6ecb16553ed5211f277b49e9f2ed2d7c745
This commit is contained in:
Sunny Goyal
2018-02-07 14:44:05 -08:00
parent 03c8e3ffad
commit 3bac2c2b91
3 changed files with 29 additions and 1 deletions

View File

@@ -71,4 +71,12 @@ 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);
}