Vadim Caen
a2e45f1ed1
Prevent callback registration when back flag is disabled
...
When the enableOnBackInvokedCallback is set to false (or not set),
registering an OnBackInvokedCallback should be a no-op to avoid
overriding the default compat callback.
Test: Manual testing registering a callback on an app with the flag
disabled and doing a back gesture. Currently we don't have test
executing a back gesture so automated tests are not possible
Bug: 235206960
Change-Id: I54d843f11130a78ed5a68cbe4722e601a2086ee1
Merged-In: I54d843f11130a78ed5a68cbe4722e601a2086ee1
(cherry picked from commit aa48dc3c2d )
2022-06-20 11:40:18 +02:00
..
2022-02-10 07:01:01 +00:00
2022-04-14 19:34:26 +00:00
2022-01-18 10:42:21 +01:00
2022-03-24 14:14:26 +01:00
2022-03-20 14:36:54 +08:00
2022-06-20 11:40:18 +02:00
2022-02-08 14:27:57 +00:00
2022-03-22 18:01:28 +08:00
2022-05-27 12:15:45 +08:00
2022-05-04 05:31:08 +00:00
2022-05-16 22:51:06 +00:00
2022-02-10 07:01:01 +00:00
2021-05-24 09:14:46 -07:00
2022-02-14 22:18:29 +00:00
2022-04-22 17:36:02 +08:00
2022-04-01 16:47:46 +08:00
2021-10-05 20:43:35 +08:00
2022-04-24 16:28:31 +00:00
2021-10-19 19:02:38 +08:00
2021-10-19 19:02:38 +08:00
2022-04-01 20:09:26 +00:00
2022-04-01 20:27:34 +00:00
2022-04-07 05:11:42 +00:00
2022-04-07 05:11:42 +00:00
2022-05-25 17:08:55 +02:00
2022-03-28 16:43:46 -07:00
2022-06-20 11:40:18 +02:00
2021-09-03 17:19:44 +00:00
2021-11-01 16:54:26 -07:00
2021-08-06 14:15:23 -04:00
2022-03-21 14:05:10 +00:00
2022-04-15 02:18:23 +00:00
2022-04-07 16:52:47 +02:00
2021-10-05 20:43:35 +08:00
2021-10-05 20:43:35 +08:00
2022-06-10 12:15:00 -05:00
2022-04-19 09:36:11 -05:00
2022-02-14 22:18:29 +00:00
2021-06-22 15:00:24 -07:00
2021-07-26 16:13:20 +08:00
2021-06-22 15:00:24 -07:00
2022-06-15 00:32:34 +08:00
2022-04-22 17:36:02 +08:00
2021-07-26 16:13:20 +08:00
2022-04-24 16:28:31 +00:00
2021-11-09 11:03:32 +00:00
2021-08-10 11:26:31 -07:00
2022-03-16 13:49:04 +00:00
2021-10-19 19:02:38 +08:00
2021-12-14 09:32:55 -08:00
2022-03-31 10:38:56 +00:00
2022-04-24 16:57:10 +08:00
2022-01-25 12:30:47 +08:00
2022-03-28 09:02:00 +00:00
2022-03-09 09:40:40 -06:00
2022-06-20 11:40:18 +02:00
2021-10-19 19:02:38 +08:00
2021-08-11 23:43:01 +08:00
2022-04-25 20:24:43 +08:00
2022-05-09 03:15:22 +00:00