commit | 57707ea4c67f75dfa5b6b7139d95dc76edcc060f | [log] [tgz] |
---|---|---|
author | Jiaming Liu <jiamingliu@google.com> | Thu Jan 23 05:53:19 2025 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Mar 22 10:12:33 2025 -0700 |
tree | 98ccb2a697634942f7f0cde06e24e5d6dfd229a9 | |
parent | aa2946301174603050cd8729b45fa6aa22a5f22b [diff] |
[AE] Prevent crash when launching activity's task id is invalid If we cannot get a valid task id for the launching activity, then we fall back to treat it as a non-activity context. This prevents crash when creating task fragment with invalid task id. Bug: 391438117 Test: atest SplitControllerTest ActivityEmbeddingLaunchTests ActivityEmbeddingLifecycleTests ActivityEmbeddingPolicyTests Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b542b3a87203a99880f3ed2150478d3d8cd9b824) Merged-In: I1ee93340ce8d7af776592182cb5240bd62e48736 Change-Id: I1ee93340ce8d7af776592182cb5240bd62e48736