summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-12-07 17:21:56 +0800
committer wilsonshih <wilsonshih@google.com> 2023-12-13 06:49:57 +0000
commit2bbc80f48ea939420617d1a1ad2766c9baa58e11 (patch)
treeb252ed1f2f3b51c5cecf1979aae93dd694323439 /libs/androidfw/StringPool.cpp
parent19bd703426c6943ffbb4471c955e7cfb9c762a85 (diff)
Correct record activity snapshot condition.
Predictive back animation will happen when top activity has opt-in enableOnBackInvokedCallback, and there will use activity snapshot for previous activity. So the correct condition is to record snapshot when opening activity has opt-in onBackInvoked, instead of checking the closeing activity. Bug: 259497289 Test: atest WindowOnBackInvokedDispatcherTest Test: enable activity snapshot, and verify there will record activity snapshot for close activity if the opening activity has opt-in onBackInvoked. Change-Id: I51814441bccd5e309cc3b310528b5c0bee3f24ba
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions