mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Removing extra accessibility box from Recents
Disabling accessibility of Workspace (not Recents!) while in Overview, thus removing strange box appearing while navigating with Switch Access though Overview. See discussing in the bug. Bug: 78464518 Change-Id: I86b10e3e435af6e45a94c867e7efcdb5553d32d2 Testing: Manual
This commit is contained in:
@@ -25,7 +25,8 @@ import com.android.quickstep.views.RecentsView;
|
||||
public class FastOverviewState extends OverviewState {
|
||||
|
||||
private static final int STATE_FLAGS = FLAG_SHOW_SCRIM | FLAG_DISABLE_RESTORE
|
||||
| FLAG_DISABLE_INTERACTION | FLAG_OVERVIEW_UI | FLAG_HIDE_BACK_BUTTON;
|
||||
| FLAG_DISABLE_INTERACTION | FLAG_OVERVIEW_UI | FLAG_HIDE_BACK_BUTTON
|
||||
| FLAG_DISABLE_ACCESSIBILITY;
|
||||
|
||||
public FastOverviewState(int id) {
|
||||
super(id, QuickScrubController.QUICK_SCRUB_START_DURATION, STATE_FLAGS);
|
||||
|
||||
@@ -35,7 +35,7 @@ import com.android.quickstep.views.RecentsView;
|
||||
public class OverviewState extends LauncherState {
|
||||
|
||||
private static final int STATE_FLAGS = FLAG_SHOW_SCRIM | FLAG_WORKSPACE_ICONS_CAN_BE_DRAGGED
|
||||
| FLAG_DISABLE_RESTORE | FLAG_OVERVIEW_UI;
|
||||
| FLAG_DISABLE_RESTORE | FLAG_OVERVIEW_UI | FLAG_DISABLE_ACCESSIBILITY;
|
||||
|
||||
public OverviewState(int id) {
|
||||
this(id, OVERVIEW_TRANSITION_MS, STATE_FLAGS);
|
||||
|
||||
Reference in New Issue
Block a user