OSDN Git Service

Small fix for Chrome OS
[android-x86/packages-apps-Taskbar.git] / app / src / main / java / com / farmerbb / taskbar / ui / TaskbarController.java
index 9cc5303..35297b5 100644 (file)
@@ -1095,7 +1095,8 @@ public class TaskbarController extends UIController {
         }
 
         boolean realMatchParent = maxRecentsSize >= maxScreenSize
-                && pref.getBoolean(PREF_COLLAPSED, false);
+                && pref.getBoolean(PREF_COLLAPSED, false)
+                && !(TaskbarPosition.isVertical(context) && U.isChromeOs(context));
 
         if(realMatchParent != matchParent) {
             matchParent = realMatchParent;