From 76516bbd3dde1f9f88f211f7299b3625ee2ec618 Mon Sep 17 00:00:00 2001 From: kellyz Date: Fri, 22 Jul 2022 10:23:28 +0800 Subject: [PATCH] Enable predictive back gesture for Settings app. Bug: 238729272 Test: manually tested on device Change-Id: Ib75902d1d7bbd289705cb62ef00d5840676bda72 (cherry picked from commit 1bda6428c234431234782efca65d1637b0729d7d) Merged-In: Ib75902d1d7bbd289705cb62ef00d5840676bda72 --- AndroidManifest.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e280b8394f9..1b69a58b0fd 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -131,7 +131,8 @@ android:usesCleartextTraffic="true" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" - android:appComponentFactory="androidx.core.app.CoreComponentFactory"> + android:appComponentFactory="androidx.core.app.CoreComponentFactory" + android:enableOnBackInvokedCallback="true">