summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Charles Chen <charlesccchen@google.com> 2022-06-23 17:02:37 +0800
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2022-07-07 03:04:45 +0000
commitd02830802a24ce42ce14ffca13c6931feab10c23 (patch)
treedafd6a74d3ed4fdecbfcbd2004e79298b4863aee /libs/androidfw/StringPool.cpp
parentddcd7479aab585acbf0618c2f4448776b693225b (diff)
Fix exception when opening App info on work profile
The root cause is that the target intent was intercepted to ConfirmDeviceCredentialIntent and ActivityStarter tried to embed the credential intent unexpectedly. This CL fixes the issue by, instead throwing exception, start Activity to the new Task if the parent Task of target TaskFragment is different than the target Task. This CL also removes the remaining embedded Task as tracked in b/234351413. TODO: 1. With this CL, the app detail info page after intercepted shows in fullscreen. It will be embed back to the right TaskFragment as follow-up CL. 2. Fix the layout issue of ConfirmDeviceCredential Activity. The layout is flaky at the first time to launch device. Bug: 233578672 Bug: 231972879 fixes: 234351413 Test: atest ActivityStarterTests Test: atest CtsWindowManagerJetpackTestCases Test: atest TaskFragmentOrganizerControllerTest Test: atest TaskFragmentOrganizerPolicyTest TaskFragmentOrganizerTest Test: atest SplitActivityLifecycleTest Change-Id: Ibcb40521a5a8374e485932f006049ba676213da1 Merged-In: Ibcb40521a5a8374e485932f006049ba676213da1 (cherry picked from commit 8e4028329473a54c16fda4233a9fc10807375464) Merged-In: Ibcb40521a5a8374e485932f006049ba676213da1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions