Merge "Move overview actions to task menu when no focused task." into tm-qpr-dev
This commit is contained in:
commit
cbedc7ed08
7 files changed
+45
-20
No files matched your search
@@ -1411,8 +1411,10 @@ public class DeviceProfile {
|
||||
|
||||
/** Gets the space that the overview actions will take, including bottom margin. */
|
||||
public int getOverviewActionsClaimedSpace() {
|
||||
return overviewActionsTopMarginPx + overviewActionsHeight
|
||||
+ getOverviewActionsClaimedSpaceBelow();
|
||||
int overviewActionsSpace = isTablet && FeatureFlags.ENABLE_GRID_ONLY_OVERVIEW.get()
|
||||
? 0
|
||||
: (overviewActionsTopMarginPx + overviewActionsHeight);
|
||||
return overviewActionsSpace + getOverviewActionsClaimedSpaceBelow();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user