diff options
| author | Evan Rosky <erosky@google.com> | 2020-10-23 18:13:19 -0700 |
|---|---|---|
| committer | Evan Rosky <erosky@google.com> | 2020-11-17 15:17:44 -0800 |
| commit | 7274d2d186ca53cd0b15ac67dd97fc2c5850a166 (patch) | |
| tree | e9e0da931a020c25a2c184001a068f97fad4314e /core/java/android | |
| parent | 738ba5601f979c291fe7e32d02981387c6a86aeb (diff) | |
Track changes during transitions and report to player
Current tracked changes include bounds, visibility, and
"existence".
bounds and visibility are fairly straightforward, call
collect() before doing operations and it will record the
state. Once the transition is finished, it will compare
that recorded state with the finished state.
"existence" is more complicated. It's the difference
between show/hide vs open/close. Because Task instances
are basically always around, their existence depends on
the circumstances around when/how activities are started.
For that we have to explicitly indicate when a container
is going to change its existence via
collectExistenceChange().
Bug: 169035306
Test: atest TransitionTests
Change-Id: I78d4cda6b726202507b757f93c742d49e51e2d7b
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/app/ActivityManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java index f17b815c5e28..75bb5ce3f174 100644 --- a/core/java/android/app/ActivityManager.java +++ b/core/java/android/app/ActivityManager.java @@ -316,8 +316,8 @@ public class ActivityManager { public static final int START_RETURN_INTENT_TO_CALLER = FIRST_START_SUCCESS_CODE + 1; /** - * Result for IActivityManaqer.startActivity: activity wasn't really started, but - * a task was simply brought to the foreground. + * Result for IActivityManaqer.startActivity: activity was started or brought forward in an + * existing task which was brought to the foreground. * @hide */ public static final int START_TASK_TO_FRONT = FIRST_START_SUCCESS_CODE + 2; |
