Merge "Always provide mandatory bottom gesture insets" into tm-qpr-dev am: 4b5b50be80

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

Change-Id: I53cbb4a63c0cea6fcb12ce4ee82522e599ad5b9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarInsetsController.kt b/quickstep/src/com/android/launcher3/taskbar/TaskbarInsetsController.kt
index 2711b78..cd66562 100644
--- a/quickstep/src/com/android/launcher3/taskbar/TaskbarInsetsController.kt
+++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarInsetsController.kt
@@ -100,10 +100,12 @@
                     windowLayoutParams,
                     intArrayOf(
                             ITYPE_EXTRA_NAVIGATION_BAR,
-                            ITYPE_BOTTOM_TAPPABLE_ELEMENT
+                            ITYPE_BOTTOM_TAPPABLE_ELEMENT,
+                            ITYPE_BOTTOM_MANDATORY_GESTURES
                     ),
                     intArrayOf(
                             SOURCE_FRAME,
+                            SOURCE_FRAME,
                             SOURCE_FRAME
                     )
             )
@@ -119,6 +121,7 @@
         val contentHeight = controllers.taskbarStashController.contentHeightToReportToApps
         val tappableHeight = controllers.taskbarStashController.tappableHeightToReportToApps
         val res = context.resources
+
         for (provider in windowLayoutParams.providedInsets) {
             if (
                 provider.type == ITYPE_EXTRA_NAVIGATION_BAR ||