From 918776ee51c60a1156600bbbcf5da986ef882a91 Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Mon, 22 Nov 2021 16:00:09 -0800 Subject: [PATCH] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery LauncherActivity uses FLAG_SLIPPERY for certain interactions. For example, when home screen is shown, and the user pulls down from not the top of the screen, and notification shade is getting displayed, then the touch should be getting transferred to the NotificationShade using FLAG_SLIPPERY. The newly introduced permission is added to launcher in order for this flag to be applied to the window. Bug: 206188649 Bug: 157929241 Test: reviewed logs, ensure that NexusLauncherActivity has FLAG_SLIPPERY Test: re-ran the performance regression test Merged-In: I8d05fa3663687b5382a59b0d47cdac404844c3b7 Change-Id: I8d05fa3663687b5382a59b0d47cdac404844c3b7 --- quickstep/AndroidManifest.xml | 1 + .../StatusBarTouchController.java | 21 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/quickstep/AndroidManifest.xml b/quickstep/AndroidManifest.xml index e49f2ecdc0..a6c3015b92 100644 --- a/quickstep/AndroidManifest.xml +++ b/quickstep/AndroidManifest.xml @@ -30,6 +30,7 @@ +