Add flag for window manager with no touch area in customize toast
Bug: 204269379 Test: Manual test Change-Id: Id9c5ea1156cd5a6ec2e24a55dc8ddff1b1ee232a
This commit is contained in:
@@ -1077,6 +1077,9 @@ public class InternetDialogController implements WifiEntry.DisconnectCallback,
|
||||
params.width = WindowManager.LayoutParams.WRAP_CONTENT;
|
||||
params.format = PixelFormat.TRANSLUCENT;
|
||||
params.type = WindowManager.LayoutParams.TYPE_STATUS_BAR_SUB_PANEL;
|
||||
params.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
|
||||
| WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
|
||||
| WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
|
||||
params.y = systemUIToast.getYOffset();
|
||||
|
||||
int absGravity = Gravity.getAbsoluteGravity(systemUIToast.getGravity(),
|
||||
|
||||
Reference in New Issue
Block a user