Store startAlignTaskbar in DisplayInfoSpec
- CD grids should override startAlignTaskbar. - The DP.toBuilder method should carry forward DisplayInfoSpec instead of always recalculating. Fix: 416276424 Test: m Flag: EXEMPT updating recently added logic Change-Id: I7b1cb8eab5fedc09b29e96a765d1341655474e8a
This commit is contained in:
1 parent
2a6553ff9e
commit
f0ec71d325
3 files changed
+15
-3
No files matched your search
@@ -811,7 +811,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
|
||||
/** Returns whether taskbar should start align. */
|
||||
public boolean shouldStartAlignTaskbar() {
|
||||
return isThreeButtonNav() && mDeviceProfile.startAlignTaskbar && isPrimaryDisplay();
|
||||
return isThreeButtonNav() && mDeviceProfile.startAlignTaskbar;
|
||||
}
|
||||
|
||||
public boolean isGestureNav() {
|
||||
|
||||
Reference in new issue
Block a user