diff options
| author | wilsonshih <wilsonshih@google.com> | 2019-11-01 18:47:05 +0800 |
|---|---|---|
| committer | wilsonshih <wilsonshih@google.com> | 2019-11-06 11:47:12 +0800 |
| commit | 3c1e53ddaacf6cf0372c792fdac5287d70a3da57 (patch) | |
| tree | 124de326e140614b2aea1cc7ca52d843aace0bd5 /core/java/android/app/ActivityOptions.java | |
| parent | 07d87c037d7a99f4fa3792f1d2d1c0d28d95457b (diff) | |
Use setTaskOverlay to launch ConfirmDeviceCredentialActivity.
WorkLockActivity is launched as a task overlay activity. If it needs to
launch an activity on top of it, the activity should also be a task
overlay.
Bug: 142853039
Test: Follow the issue description
Test: atest WmTests:ActivityOptionsTest
Change-Id: If4cdc892f608df5337223f70333538e33ff593ca
Diffstat (limited to 'core/java/android/app/ActivityOptions.java')
| -rw-r--r-- | core/java/android/app/ActivityOptions.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/ActivityOptions.java b/core/java/android/app/ActivityOptions.java index 67728840ada8..f91453ea0811 100644 --- a/core/java/android/app/ActivityOptions.java +++ b/core/java/android/app/ActivityOptions.java @@ -1301,8 +1301,8 @@ public class ActivityOptions { /** * Set's whether the activity launched with this option should be a task overlay. That is the - * activity will always be the top activity of the task. If {@param canResume} is true, then - * the task will also not be moved to the front of the stack. + * activity will always be the top activity of the task. + * @param canResume {@code false} if the task will also not be moved to the front of the stack. * @hide */ @TestApi |
