mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Add transient taskbar sizing for twoPanel devices.
Bug: 259712417 Test: on two panel device, on tablet device Change-Id: Iae273b6bbfb254288c234aa5882f39eb0b6a88b1
This commit is contained in:
@@ -195,7 +195,9 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
Resources resources = mActivity.getResources();
|
||||
boolean isTransientTaskbar = DisplayController.isTransientTaskbar(mActivity);
|
||||
mUnstashedHeight = resources.getDimensionPixelSize(isTransientTaskbar
|
||||
? R.dimen.transient_taskbar_size
|
||||
? (mActivity.getDeviceProfile().isTwoPanels
|
||||
? R.dimen.transient_taskbar_two_panels_size
|
||||
: R.dimen.transient_taskbar_size)
|
||||
: R.dimen.taskbar_size);
|
||||
mStashedHeight = resources.getDimensionPixelSize(isTransientTaskbar
|
||||
? R.dimen.transient_taskbar_stashed_size
|
||||
|
||||
Reference in New Issue
Block a user