Land ENABLE_TASKBAR_IN_OVERVIEW
Fix: 270393449 Test: manual Change-Id: I731bfa8ee86154fd034781e27272abc81a6fe6c6
This commit is contained in:
1 parent
409b17eee4
commit
8aa3f00238
16 files changed
+24
-200
No files matched your search
@@ -1417,14 +1417,7 @@ public class DeviceProfile {
|
||||
*/
|
||||
public int getOverviewActionsClaimedSpaceBelow() {
|
||||
if (isTaskbarPresent) {
|
||||
if (FeatureFlags.ENABLE_TASKBAR_IN_OVERVIEW.get()) {
|
||||
return transientTaskbarSize + transientTaskbarMargin * 2;
|
||||
}
|
||||
|
||||
return isGestureMode
|
||||
? stashedTaskbarSize
|
||||
// Align vertically to where nav buttons are.
|
||||
: ((taskbarSize - overviewActionsHeight) / 2) + getTaskbarOffsetY();
|
||||
return transientTaskbarSize + transientTaskbarMargin * 2;
|
||||
}
|
||||
return mInsets.bottom;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user