Merge "Revert "Revert "Moving DeviceProfile properties into DevicePrope..."" into main

This commit is contained in:
Sebastián Franco
2025-05-23 17:03:18 -07:00
committed by Android (Google) Code Review
128 changed files with 727 additions and 597 deletions
@@ -1242,7 +1242,7 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
}
// Do not stash if in small screen, with 3 button nav, and in landscape.
if (mActivity.isPhoneMode() && mActivity.isThreeButtonNav()
&& mActivity.getDeviceProfile().isLandscape) {
&& mActivity.getDeviceProfile().getDeviceProperties().isLandscape()) {
return false;
}