Merge "Allow taskbar and taskbar all apps window to receive split touches" into tm-qpr-dev am: b1405a2fc1

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

Change-Id: Iaa7b04387f15ece584f3f8a5899550fa75685c92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Vaibhav Devmurari
2022-06-28 11:42:41 +00:00
committed by Automerger Merge Worker
2 changed files with 3 additions and 2 deletions
@@ -263,7 +263,8 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
mLastRequestedNonFullscreenHeight,
type,
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
| WindowManager.LayoutParams.FLAG_SLIPPERY,
| WindowManager.LayoutParams.FLAG_SLIPPERY
| WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
PixelFormat.TRANSLUCENT);
windowLayoutParams.setTitle(WINDOW_TITLE);
windowLayoutParams.packageName = getPackageName();
@@ -207,7 +207,7 @@ public final class TaskbarAllAppsController {
private LayoutParams createLayoutParams() {
LayoutParams layoutParams = new LayoutParams(
TYPE_APPLICATION_OVERLAY,
0,
WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
PixelFormat.TRANSLUCENT);
layoutParams.setTitle(WINDOW_TITLE);
layoutParams.gravity = Gravity.BOTTOM;