mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Migrate hotseat items into a folder
If feature flag HOTSEAT_MIGRATE_TO_FOLDER is enabled, this moves hotseat items into a folder in the workspace. If not, it moves the whole hotseat to the first workspace page that can host the hotseat. Bug: 151099421 Test: Manual Change-Id: I49f6a22a0ada2c4cf237ca91a323a46346a11a59
This commit is contained in:
@@ -180,7 +180,10 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
return null;
|
||||
}
|
||||
|
||||
protected static <T extends AbstractFloatingView> T getOpenView(
|
||||
/**
|
||||
* Returns a view matching FloatingViewType
|
||||
*/
|
||||
public static <T extends AbstractFloatingView> T getOpenView(
|
||||
ActivityContext activity, @FloatingViewType int type) {
|
||||
BaseDragLayer dragLayer = activity.getDragLayer();
|
||||
if (dragLayer == null) return null;
|
||||
|
||||
Reference in New Issue
Block a user