mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Adding support for overlay and corresponding plugin to Launcher
Updating various task callbacks to handle overlays Change-Id: I80077508ad35c31269c873f51f0105302a9e6a5d
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
package com.android.launcher3;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
import java.io.FileDescriptor;
|
||||
@@ -36,31 +35,8 @@ public interface LauncherCallbacks {
|
||||
* the code in the corresponding Launcher method is executed.
|
||||
*/
|
||||
void onCreate(Bundle savedInstanceState);
|
||||
void onResume();
|
||||
void onStart();
|
||||
void onStop();
|
||||
void onPause();
|
||||
void onDestroy();
|
||||
void onSaveInstanceState(Bundle outState);
|
||||
void onActivityResult(int requestCode, int resultCode, Intent data);
|
||||
void onRequestPermissionsResult(int requestCode, String[] permissions,
|
||||
int[] grantResults);
|
||||
void onAttachedToWindow();
|
||||
void onDetachedFromWindow();
|
||||
void dump(String prefix, FileDescriptor fd, PrintWriter w, String[] args);
|
||||
void onHomeIntent(boolean internalStateHandled);
|
||||
boolean handleBackPressed();
|
||||
void onTrimMemory(int level);
|
||||
|
||||
/**
|
||||
* Called when the launcher state changed
|
||||
*/
|
||||
default void onStateChanged() { }
|
||||
|
||||
/*
|
||||
* Extension points for providing custom behavior on certain user interactions.
|
||||
*/
|
||||
void onLauncherProviderChange();
|
||||
|
||||
/**
|
||||
* Starts a search with {@param initialQuery}. Return false if search was not started.
|
||||
|
||||
Reference in New Issue
Block a user