Properly color taskbar nav buttons when slide-in view is shown.
Supports overriding the current nav bar color with one that would be visible over a slide-in view. Demo: https://drive.google.com/file/d/1MB26QM5qeeyVB6Bj14IGoPCWVT_P7K-3/view?usp=sharing&resourcekey=0-wnMgciNrUXC_l7gI3JFm8A Test: Manually with light and dark themes, as well as All Apps and EDU views. Fix: 248359789 Change-Id: I134ae719b10f3de78ea18220a835de56a82ecb02
This commit is contained in:
1 parent
ae81433665
commit
731ef0c301
7 files changed
+55
-18
No files matched your search
@@ -41,6 +41,7 @@ import com.android.launcher3.model.data.ItemInfo;
|
||||
import com.android.launcher3.popup.PopupDataProvider;
|
||||
import com.android.launcher3.taskbar.BaseTaskbarContext;
|
||||
import com.android.launcher3.taskbar.TaskbarActivityContext;
|
||||
import com.android.launcher3.taskbar.TaskbarControllers;
|
||||
import com.android.launcher3.taskbar.TaskbarDragController;
|
||||
import com.android.launcher3.taskbar.TaskbarStashController;
|
||||
import com.android.launcher3.testing.TestLogging;
|
||||
@@ -72,7 +73,7 @@ class TaskbarAllAppsContext extends BaseTaskbarContext {
|
||||
TaskbarAllAppsContext(
|
||||
TaskbarActivityContext taskbarContext,
|
||||
TaskbarAllAppsController windowController,
|
||||
TaskbarStashController taskbarStashController) {
|
||||
TaskbarControllers taskbarControllers) {
|
||||
super(taskbarContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null));
|
||||
mTaskbarContext = taskbarContext;
|
||||
mWindowController = windowController;
|
||||
@@ -86,9 +87,10 @@ class TaskbarAllAppsContext extends BaseTaskbarContext {
|
||||
this,
|
||||
slideInView,
|
||||
windowController,
|
||||
taskbarStashController);
|
||||
taskbarControllers);
|
||||
mAppsView = slideInView.getAppsView();
|
||||
|
||||
TaskbarStashController taskbarStashController = taskbarControllers.taskbarStashController;
|
||||
mWillTaskbarBeVisuallyStashed = taskbarStashController.supportsVisualStashing();
|
||||
mStashedTaskbarHeight = taskbarStashController.getStashedHeight();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user