Merge "Allow taskbar and taskbar all apps window to receive split touches" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b1405a2fc1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user