Allow bubble bar to show on phones if the flag is enabled
* Check for bubble bar on phone being enabled in most places
tiny taskbar was checking
* Forces taskbar to always be stashed when bubble bar is enabled
* There are a couple of visual issues with the flag enabled:
- extra space in overview
- the hotseat is a lil squished on home when bubbles are there
Flag: com.android.wm.shell.enable_bubble_bar_on_phones
Test: manual - enable bubble bar on phones observe that bubble bar
is enabled and kind of works
Bug: 394869612
Change-Id: I56d3045c78c6c31dcacf16744033b34c9aa5f6e0
This commit is contained in:
1 parent
2ab63042b8
commit
768019357f
5 files changed
+22
-7
No files matched your search
@@ -119,7 +119,8 @@ public class StashedHandleViewController implements TaskbarControllers.LoggableT
|
||||
mControllers = controllers;
|
||||
DeviceProfile deviceProfile = mActivity.getDeviceProfile();
|
||||
Resources resources = mActivity.getResources();
|
||||
if (mActivity.isPhoneGestureNavMode() || mActivity.isTinyTaskbar()) {
|
||||
if (mActivity.isPhoneGestureNavMode() || mActivity.isTinyTaskbar()
|
||||
|| mActivity.isBubbleBarOnPhone()) {
|
||||
mTaskbarSize = resources.getDimensionPixelSize(R.dimen.taskbar_phone_size);
|
||||
mStashedHandleWidth =
|
||||
resources.getDimensionPixelSize(R.dimen.taskbar_stashed_small_screen);
|
||||
|
||||
Reference in new issue
Block a user