Merge "Fix pause work apps overlapping IME" into tm-qpr-dev am: 7f98856395

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20009124

Change-Id: I4dc4f489f271212df3744dd7f9cb573e350edaf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Brandon Dayauon
2022-09-23 17:22:40 +00:00
committed by Automerger Merge Worker
@@ -97,12 +97,10 @@ public class WorkModeSwitch extends Button implements Insettable, View.OnClickLi
bottomMargin += dp.hotseatQsbHeight;
}
if (!dp.isGestureMode) {
if (dp.isTaskbarPresent) {
bottomMargin += dp.taskbarSize;
} else {
bottomMargin += insets.bottom;
}
if (!dp.isGestureMode && dp.isTaskbarPresent) {
bottomMargin += dp.taskbarSize;
} else {
bottomMargin += insets.bottom;
}
lp.bottomMargin = bottomMargin;