mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Moving all intent receiver register calls to a single place
This is eventually allow us to move all register to background thread Also creating a single ScreenOn tracked which is used at multiple places Bug: 264465756 Test: Verified on device Change-Id: Ibadf9ca43218e578954420d97a733adfa0a94fc7 Merged-In: Ib410e5bf02773cefde5bf0a0a1f2f1c108718d24
This commit is contained in:
@@ -63,11 +63,13 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
TYPE_TASK_MENU,
|
||||
TYPE_OPTIONS_POPUP,
|
||||
TYPE_ICON_SURFACE,
|
||||
TYPE_OPTIONS_POPUP_DIALOG,
|
||||
TYPE_PIN_WIDGET_FROM_EXTERNAL_POPUP,
|
||||
TYPE_WIDGETS_EDUCATION_DIALOG,
|
||||
TYPE_TASKBAR_EDUCATION_DIALOG,
|
||||
TYPE_TASKBAR_ALL_APPS,
|
||||
TYPE_OPTIONS_POPUP_DIALOG
|
||||
TYPE_ADD_TO_HOME_CONFIRMATION,
|
||||
TYPE_TASKBAR_OVERLAY_PROXY
|
||||
})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface FloatingViewType {}
|
||||
@@ -87,14 +89,14 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
public static final int TYPE_TASK_MENU = 1 << 11;
|
||||
public static final int TYPE_OPTIONS_POPUP = 1 << 12;
|
||||
public static final int TYPE_ICON_SURFACE = 1 << 13;
|
||||
public static final int TYPE_OPTIONS_POPUP_DIALOG = 1 << 18;
|
||||
public static final int TYPE_OPTIONS_POPUP_DIALOG = 1 << 14;
|
||||
|
||||
public static final int TYPE_PIN_WIDGET_FROM_EXTERNAL_POPUP = 1 << 14;
|
||||
public static final int TYPE_WIDGETS_EDUCATION_DIALOG = 1 << 15;
|
||||
public static final int TYPE_TASKBAR_EDUCATION_DIALOG = 1 << 16;
|
||||
public static final int TYPE_TASKBAR_ALL_APPS = 1 << 17;
|
||||
public static final int TYPE_ADD_TO_HOME_CONFIRMATION = 1 << 18;
|
||||
public static final int TYPE_TASKBAR_OVERLAY_PROXY = 1 << 19;
|
||||
public static final int TYPE_PIN_WIDGET_FROM_EXTERNAL_POPUP = 1 << 15;
|
||||
public static final int TYPE_WIDGETS_EDUCATION_DIALOG = 1 << 16;
|
||||
public static final int TYPE_TASKBAR_EDUCATION_DIALOG = 1 << 17;
|
||||
public static final int TYPE_TASKBAR_ALL_APPS = 1 << 18;
|
||||
public static final int TYPE_ADD_TO_HOME_CONFIRMATION = 1 << 19;
|
||||
public static final int TYPE_TASKBAR_OVERLAY_PROXY = 1 << 20;
|
||||
|
||||
public static final int TYPE_ALL = TYPE_FOLDER | TYPE_ACTION_POPUP
|
||||
| TYPE_WIDGETS_BOTTOM_SHEET | TYPE_WIDGET_RESIZE_FRAME | TYPE_WIDGETS_FULL_SHEET
|
||||
|
||||
Reference in New Issue
Block a user