Implement overlay window for Taskbar EDU and All Apps.
Having EDU in the same window as Taskbar causes it to be above All Apps and other system views such as the notification tray. This change refactors the existing All Apps window to accomodate more AFVs so that EDU can also exist in it. Demo: http://shortn/_Qcki3gwvf7 Test: Manual Fix: 232177330 Change-Id: I1bef31d798041a90a0c3e033e71be63898fa5fbc
This commit is contained in:
1 parent
2613431914
commit
2d6371aa34
18 files changed
+530
-438
No files matched your search
+3
-4
@@ -25,6 +25,7 @@ import com.android.launcher3.appprediction.PredictionRowView;
|
||||
import com.android.launcher3.taskbar.NavbarButtonsViewController;
|
||||
import com.android.launcher3.taskbar.TaskbarControllers;
|
||||
import com.android.launcher3.taskbar.TaskbarStashController;
|
||||
import com.android.launcher3.taskbar.overlay.TaskbarOverlayContext;
|
||||
|
||||
/**
|
||||
* Handles the {@link TaskbarAllAppsContainerView} behavior and synchronizes its transitions with
|
||||
@@ -32,16 +33,15 @@ import com.android.launcher3.taskbar.TaskbarStashController;
|
||||
*/
|
||||
final class TaskbarAllAppsViewController {
|
||||
|
||||
private final TaskbarAllAppsContext mContext;
|
||||
private final TaskbarOverlayContext mContext;
|
||||
private final TaskbarAllAppsSlideInView mSlideInView;
|
||||
private final TaskbarAllAppsContainerView mAppsView;
|
||||
private final TaskbarStashController mTaskbarStashController;
|
||||
private final NavbarButtonsViewController mNavbarButtonsViewController;
|
||||
|
||||
TaskbarAllAppsViewController(
|
||||
TaskbarAllAppsContext context,
|
||||
TaskbarOverlayContext context,
|
||||
TaskbarAllAppsSlideInView slideInView,
|
||||
TaskbarAllAppsController windowController,
|
||||
TaskbarControllers taskbarControllers) {
|
||||
|
||||
mContext = context;
|
||||
@@ -53,7 +53,6 @@ final class TaskbarAllAppsViewController {
|
||||
setUpIconLongClick();
|
||||
setUpAppDivider();
|
||||
setUpTaskbarStashing();
|
||||
mSlideInView.addOnCloseListener(windowController::maybeCloseWindow);
|
||||
}
|
||||
|
||||
/** Starts the {@link TaskbarAllAppsSlideInView} enter transition. */
|
||||
|
||||
Reference in new issue
Block a user