mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Remove custom focus logic
Using the system logic for focus handling so that partially visible contents are properly handled, eg in overview only hotseat is visible This does changes the focus logic on workspace when both icons and widgets or different sizes are present, we may consider reviving (parts of) this logic in the future Bug: 80189843 Change-Id: I874e284e0a62b579c24d36db9b74da3de7a7e367
This commit is contained in:
@@ -881,7 +881,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
final CellLayout layout;
|
||||
if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
|
||||
layout = mLauncher.getHotseat().getLayout();
|
||||
child.setOnKeyListener(new HotseatIconKeyEventListener());
|
||||
|
||||
// Hide folder title in the hotseat
|
||||
if (child instanceof FolderIcon) {
|
||||
@@ -893,7 +892,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
((FolderIcon) child).setTextVisible(true);
|
||||
}
|
||||
layout = getScreenWithId(screenId);
|
||||
child.setOnKeyListener(new IconKeyEventListener());
|
||||
}
|
||||
|
||||
ViewGroup.LayoutParams genericLp = child.getLayoutParams();
|
||||
|
||||
Reference in New Issue
Block a user