mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Adding a carent in the scrim
> Caret is only visible when the accessibility is enabled > It is visible in NOTMAL and OVERVIEW state and moves out of the scrim along with the scrim. > Acts as an accessible target for various options Bug: 78172350 Bug: 79215734 Change-Id: I8a968b67e36901859649546295f6491d49cc9ce9
This commit is contained in:
@@ -92,9 +92,9 @@ public class OverviewState extends LauncherState {
|
||||
@Override
|
||||
public int getVisibleElements(Launcher launcher) {
|
||||
if (launcher.getDeviceProfile().isVerticalBarLayout()) {
|
||||
return DRAG_HANDLE_INDICATOR;
|
||||
return 0;
|
||||
} else {
|
||||
return HOTSEAT_SEARCH_BOX | DRAG_HANDLE_INDICATOR |
|
||||
return HOTSEAT_SEARCH_BOX |
|
||||
(launcher.getAppsView().getFloatingHeaderView().hasVisibleContent()
|
||||
? ALL_APPS_HEADER_EXTRA : HOTSEAT_ICONS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user