mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Split AFVs that controller should not intercept from TYPE_ACCESSIBLE.
TYPE_ACCESSIBLE no longer works for certain cases (see bug). This also simplifies TouchControllers that would otherwise add or remove from TYPE_ACCESSIBLE (such as ALL_APPS_EDU and TASKBAR_OVERLAYS). Fix: 315507902 Test: Manual Flag: N/A Change-Id: I6f5d218dab87a8bcc8e7805d0ced9a6678f09c8e
This commit is contained in:
@@ -135,6 +135,10 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
public static final int TYPE_TASKBAR_OVERLAYS =
|
||||
TYPE_TASKBAR_ALL_APPS | TYPE_TASKBAR_EDUCATION_DIALOG;
|
||||
|
||||
// Floating views that a TouchController should not try to intercept touches from.
|
||||
public static final int TYPE_TOUCH_CONTROLLER_NO_INTERCEPT = TYPE_ALL & ~TYPE_DISCOVERY_BOUNCE
|
||||
& ~TYPE_LISTENER & ~TYPE_TASKBAR_OVERLAYS;
|
||||
|
||||
public static final int TYPE_ALL_EXCEPT_ON_BOARD_POPUP = TYPE_ALL & ~TYPE_ON_BOARD_POPUP
|
||||
& ~TYPE_PIN_IME_POPUP;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user