summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2024-11-26 07:03:34 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-26 07:03:34 +0000
commit6063ff3cb18d34ee0e6041239bd034cad5b531e0 (patch)
treea98f03a8fd5c3a2b7d73896f80711c717580b445
parent43971c943a48dba98440718e83417464439a85a7 (diff)
parent3d7743701c22add8952a2725d082bbcee20624bb (diff)
Merge "Avoid set transition ready to false when backgroud activity launch blocked" into main
-rw-r--r--services/core/java/com/android/server/wm/ActivityStarter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/ActivityStarter.java b/services/core/java/com/android/server/wm/ActivityStarter.java
index d2a128b74732..8e2e7ee52cda 100644
--- a/services/core/java/com/android/server/wm/ActivityStarter.java
+++ b/services/core/java/com/android/server/wm/ActivityStarter.java
@@ -1683,7 +1683,7 @@ class ActivityStarter {
remoteTransition, null /* displayChange */);
} else if (result == START_SUCCESS && mStartActivity.isState(RESUMED)) {
// Do nothing if the activity is started and is resumed directly.
- } else if (isStarted) {
+ } else if (isStarted && (mBalCode != BAL_BLOCK || mDoResume)) {
// Make the collecting transition wait until this request is ready.
transitionController.setReady(started, false);
}