summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2023-01-06 08:06:26 +0000
committer Arthur Hung <arthurhung@google.com> 2023-02-01 01:49:43 +0000
commit338e956022d1d45e6728570d68803e2a97db45a8 (patch)
tree7d397968d7ac1bf62dfaa75d7a5163dee10153fa /libs/androidfw/ApkParsing.cpp
parenta8825e86854d38d762c66736b877479d5e3d93d2 (diff)
DO NOT MERGE Prevent back navigation not working after activity re-created
When recreating the Activity, if the window is preserved, we would set the actual dispatcher from the preserved window to the new Activiy's proxy dispatcher, and expect the new callback could be re-registered in the recreating flow. This CL clears the old callbacks of the preserved dispatcher before it attach to the new proxy dispatcher, this could prevent it access the wrong top callback after other new callbacks have been unregistered. Also provide dump log for WindowOnBackInvokedDispatcher. Bug: 259500250 Test: atest BackNavigationTests Change-Id: Idc9a6a95f5669a009762570d7bc9acc2c538e4cb
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions