From 9b25df7804f70b06e0146e0f3b47a371bd89cb29 Mon Sep 17 00:00:00 2001 From: Jordan Demeulenaere Date: Wed, 12 Apr 2023 15:49:39 +0200 Subject: [PATCH] Fix gesture nav after CSD warning dialog is shown. This CL fixes a gesture navigation bug that would happen right after the CSD warning dialog was shown and until any other SystemUIDialog would be shown. See http://b/276821983#comment20 for details. Bug: 276821983 Test: Manual, cherry-pick http://ag/22573874 and click the Internet tile to show the CSD dialog. Swiping up to home from an app should work as expected. Change-Id: Ib238823a9b1d273202ebeded7de21e2f17baa063 --- .../src/com/android/systemui/volume/CsdWarningDialog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/volume/CsdWarningDialog.java b/packages/SystemUI/src/com/android/systemui/volume/CsdWarningDialog.java index e3ed2b405fb00..0e9e339ec5322 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/CsdWarningDialog.java +++ b/packages/SystemUI/src/com/android/systemui/volume/CsdWarningDialog.java @@ -199,6 +199,7 @@ public class CsdWarningDialog extends SystemUIDialog @Override protected void onStop() { + super.onStop(); synchronized (mTimerLock) { if (mCancelScheduledNoUserActionRunnable != null) { mCancelScheduledNoUserActionRunnable.run();