[CD Taskbar] Make External Taskbar 3-Button & Persistent
The gesture handle still persists in conjunction with the three buttons. In addition to being forced into three button mode, the taskbar on external displays needs to never enter transient mode. More info and before/after images on bug. Flag: com.android.window.flags.enable_taskbar_connected_displays Bug: 399718805 Test: Manual Change-Id: Iff5c297c8ac4823fa24e7a8e4becd0447224cac0
This commit is contained in:
1 parent
ebdcf7ba8a
commit
c166a373a9
28 files changed
+104
-132
No files matched your search
@@ -36,7 +36,6 @@ import com.android.launcher3.R;
|
||||
import com.android.launcher3.anim.AnimatedFloat;
|
||||
import com.android.launcher3.anim.RevealOutlineAnimation;
|
||||
import com.android.launcher3.anim.RoundedRectRevealOutlineProvider;
|
||||
import com.android.launcher3.util.DisplayController;
|
||||
import com.android.launcher3.util.Executors;
|
||||
import com.android.launcher3.util.MultiPropertyFactory;
|
||||
import com.android.launcher3.util.MultiValueAlpha;
|
||||
@@ -217,7 +216,7 @@ public class StashedHandleViewController implements TaskbarControllers.LoggableT
|
||||
.getTransientTaskbarIconLayoutBounds();
|
||||
float startRadius = mStashedHandleRadius;
|
||||
|
||||
if (DisplayController.isTransientTaskbar(mActivity)) {
|
||||
if (mActivity.isTransientTaskbar()) {
|
||||
// Account for the full visual height of the transient taskbar.
|
||||
int heightDiff = (mTaskbarSize - visualBounds.height()) / 2;
|
||||
visualBounds.top -= heightDiff;
|
||||
|
||||
Reference in new issue
Block a user