diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java index c269648f7d..6031b49874 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarStashController.java @@ -364,7 +364,12 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba * Returns the height that taskbar will be touchable. */ public int getTouchableHeight() { - return mIsStashed ? mStashedHeight : mUnstashedHeight; + int bottomMargin = 0; + if (DisplayController.isTransientTaskbar(mActivity)) { + bottomMargin = mActivity.getResources().getDimensionPixelSize( + R.dimen.transient_taskbar_margin); + } + return mIsStashed ? mStashedHeight : (mUnstashedHeight + bottomMargin); } /**