mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Support Live Tile in Quickstep (Pt1) - Z ordering
- Place Launcher above app surface. - Use LauncherLayoutListener to clear the area where the current task is in order to punch a hole and reveal the app view underneath Bug: 111697218 Test: Manual test Change-Id: I4d4e0f1113a8e60566257c030ae9b591789eb3b3
This commit is contained in:
@@ -219,6 +219,17 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
closeAllOpenViews(activity, true);
|
||||
}
|
||||
|
||||
public static void closeAllOpenViewsExcept(ActivityContext activity, boolean animate,
|
||||
@FloatingViewType int type) {
|
||||
closeOpenViews(activity, animate, TYPE_ALL & ~type);
|
||||
activity.finishAutoCancelActionMode();
|
||||
}
|
||||
|
||||
public static void closeAllOpenViewsExcept(ActivityContext activity,
|
||||
@FloatingViewType int type) {
|
||||
closeAllOpenViewsExcept(activity, true, type);
|
||||
}
|
||||
|
||||
public static AbstractFloatingView getTopOpenView(ActivityContext activity) {
|
||||
return getTopOpenViewWithType(activity, TYPE_ALL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user