Moving hotseat variables in DeviceProfile to their own class

Bug: 419264653
Flag: EXEMPT refactor
Test: DeviceProfileDumpTest
Test: All Image tests
Change-Id: I377b33668c3ed330d362527f62226dd84a5773db
This commit is contained in:
Uwais Ashraf committed 2025-05-29 13:16:05 +00:00
1 parent 501df2edca
commit 478f07798e
11 files changed
+243 -144

No files matched your search

@@ -162,7 +162,7 @@ public class WorkUtilityView extends LinearLayout implements Insettable,
int bottomMargin = getResources().getDimensionPixelSize(R.dimen.work_fab_margin_bottom);
DeviceProfile dp = ActivityContext.lookupContext(getContext()).getDeviceProfile();
if (mActivityContext.getAppsView().isSearchBarFloating()) {
bottomMargin += dp.hotseatQsbHeight;
bottomMargin += dp.getHotseatProfile().getQsbHeight();
}
if (!dp.getDeviceProperties().isGestureMode() && dp.isTaskbarPresent) {