Winson Chung
08126d915c
Revert "Add logs for null task list"
...
This reverts commit a46d36240b .
Reason for revert: Reverting logs for release
Change-Id: I65ae1ea691d5fb3d70a2db4beba08d7460b99e2b
2022-01-11 20:06:16 +00:00
Iris Yang
55f74d675c
Set launch display id to an action performed on BaseQuickStepLauncher
...
Without this change, tapping all apps of work profile wouldn't bring
the work profile app back to phone.
Add ActivityOptions#setLaunchDisplayId to the display that the given
view is currently on. So the activity will be launched to the display
as the user is interacting with.
This change also modified BaseDraggingActivity which is the parent
class of BaseQuickstepLauncher. And the RecentsActivity is extending
BaseDraggingActivity.
Bug: 204164763
Test: Manually tested using Exo. Open work appliction(e.g.Calendar)
on Exo virtual display, and tapping on the phone's Calendar on work
profile to bring the application back to phone.
Demo video: https://drive.google.com/file/d/18LWMyDz5kYj8IwAwu5EOsBk3PsjEx1zf/view?usp=sharing&resourcekey=0-7eGtqiWZDciSCfFce29MtA
Change-Id: I31d822f6df7222939413f13da850230f46ba8001
2022-01-11 11:04:05 +00:00
Vinit Nayak
73d6b4c99e
Remove code that assumes single GroupedTaskView am: 2c97c4ab19 am: b0786109bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16603208
Change-Id: I690c2f7740c94df5ae2b4ccf75e5a9c8ee8ffc37
2022-01-11 03:14:59 +00:00
Vinit Nayak
b0786109bd
Remove code that assumes single GroupedTaskView am: 2c97c4ab19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16603208
Change-Id: Ibe46da27964fb09aab5815ab871edd544b7410c3
2022-01-11 02:52:12 +00:00
Vinit Nayak
2c97c4ab19
Remove code that assumes single GroupedTaskView
...
* Old code assumes there will only be a single
GroupedTaskView, removing those code paths helps
consolidate single and grouped task code flows
* Correctly check when we need to add a stub
taskView for GroupedTaskViews by checking each
individual taskId
Test: Swiping with multiple split pairs doesn't
cause a cycle
Fixes: 213355942
Change-Id: Ibb98ae0dfcd4f52b762685aec9d2ee6445b9ef54
2022-01-10 15:59:33 -08:00
Sunny Goyal
26a1a46b4d
Remving SurfaceControlCompat
...
Bug: 213421974
Test: Presubmit
Change-Id: I1279789b09364b35a454e32417f687c1e055f27a
2022-01-10 14:41:21 +00:00
Jerry Chang
7f8e57ed68
Fix NPE when consuming snapshots for recent animation
...
Fix: 207716265
Test: no exception throws after recent animation
Change-Id: Ic35aea2285fb120f7d0b5215137ad9450518702f
2022-01-10 18:48:16 +08:00
Pat Manning
9d5962e173
Merge "Create taskbar for kids mode."
2022-01-10 10:46:48 +00:00
TreeHugger Robot
922084e5d9
Merge "Generate bugreports for ANRs and other anomalies"
2022-01-10 10:29:37 +00:00
Andy Chou
4ece098f3d
Launch activity if click on a TaskView which has the task running on
...
different display wit root.
If click on the TaskView which has the task running on differnt display
with root, it means we are trying to pull the task to the root display.
So we should also launch the activity to the right display even it is in
live tile mode.
Also add null check for getRootViewDisplayId().
Bug: 207085426
Bug: 210075742
Test: manual test with app streaming wit phonehub notification
Change-Id: Icdaa6dfa26345d271f3505a0226cf434696f40da
2022-01-08 15:16:05 +00:00
vadimt
672f2fc24a
Generate bugreports for ANRs and other anomalies
...
Bug: 211907395
Test: a similar approach was implemented for SysUI tests
Change-Id: I04770e73e6adf6bda63a8362976ec550434df6f3
2022-01-07 16:05:46 -08:00
TreeHugger Robot
1af0e4d22e
Merge "Add null check when logging quick switch" into sc-v2-dev am: d873788275 am: 5bab8365b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16584901
Change-Id: I17f59874f884bf3b7c0e1d154d8d9ac8f9fa1b5c
2022-01-07 22:53:42 +00:00
TreeHugger Robot
5bab8365b4
Merge "Add null check when logging quick switch" into sc-v2-dev am: d873788275
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16584901
Change-Id: I90cd4d6af7b9c689d42f89fa06dfedb67a52da20
2022-01-07 22:32:32 +00:00
TreeHugger Robot
d873788275
Merge "Add null check when logging quick switch" into sc-v2-dev
2022-01-07 22:13:12 +00:00
Tony Wickham
688148ac69
Add null check when logging quick switch
...
Test: none
Fixes: 209993127
Change-Id: I927f8969cf5ef3759b501fe1ada4d3b061b53d06
2022-01-07 18:32:14 +00:00
Pat Manning
2c4a1d8f7a
Create taskbar for kids mode.
...
Test: manual
Bug: 203749295
Change-Id: I52c05cf8685e6e921bb717e9714d1cb2e5f4a351
2022-01-07 11:25:04 +00:00
TreeHugger Robot
d311cc753d
Merge "Don't show split option if device in "Lock task mode"" into sc-v2-dev am: 19b3b93e5c am: bff00ec14f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16576986
Change-Id: I8089f588770a0bca6aaa28a9f7acd3c7354f8e1d
2022-01-06 23:54:25 +00:00
TreeHugger Robot
bff00ec14f
Merge "Don't show split option if device in "Lock task mode"" into sc-v2-dev am: 19b3b93e5c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16576986
Change-Id: I36ebbc43a81ced5616cd44098cc36ae86479f8d7
2022-01-06 23:38:09 +00:00
TreeHugger Robot
19b3b93e5c
Merge "Don't show split option if device in "Lock task mode"" into sc-v2-dev
2022-01-06 23:20:54 +00:00
Vinit Nayak
c09012766b
Don't show split option if device in "Lock task mode"
...
fixes: 199342537
Change-Id: Id212cce20b792fb8b16e9fa8eca4635773ae5ea7
2022-01-06 13:37:46 -08:00
Wei Sheng Shih
3b7ae6e723
Merge "Public API setSplashScreenStyle(3/N)"
2022-01-06 05:25:32 +00:00
TreeHugger Robot
ff5e679c70
Merge "Use list instead of array when filtering non-app leashes" into sc-v2-dev am: 5735251c33 am: a7d85caf4b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16571427
Change-Id: Ifc053aaafd1b063e0f1f8f5d046c24a0022fd8ca
2022-01-06 00:53:05 +00:00
TreeHugger Robot
a7d85caf4b
Merge "Use list instead of array when filtering non-app leashes" into sc-v2-dev am: 5735251c33
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16571427
Change-Id: I5349197fcf386d9fe25a90218f5bd4a63f3fd856
2022-01-06 00:39:51 +00:00
TreeHugger Robot
5735251c33
Merge "Use list instead of array when filtering non-app leashes" into sc-v2-dev
2022-01-06 00:25:34 +00:00
TreeHugger Robot
491c680681
Merge "Handle split selection when animation is disabled" into sc-v2-dev am: 3a6a0f5a31 am: 0d07b6d0c1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16512483
Change-Id: I3d2511065fe693a6d710d91d2f728914a05cda41
2022-01-05 23:30:56 +00:00
TreeHugger Robot
0d07b6d0c1
Merge "Handle split selection when animation is disabled" into sc-v2-dev am: 3a6a0f5a31
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16512483
Change-Id: I2a6f38c2786d835f002086407b44ec39ec145272
2022-01-05 23:14:15 +00:00
TreeHugger Robot
3a6a0f5a31
Merge "Handle split selection when animation is disabled" into sc-v2-dev
2022-01-05 22:56:01 +00:00
Vinit Nayak
d25fb5bd0b
Use list instead of array when filtering non-app leashes
...
* Non-apps leashes can contain non-divider targets, which
was creating null elements in the array when an index didn't
get assigned.
* With a list we don't have to worry about empty index gaps
* Also remove the animation for the divider for certain
gestures because the surface isn't always valid for the
full duration of the animation. We probably would need to
synchronize with rest of recents animation
Fixes: 212218930
Test: No longer crashes when swipe up, hold, then swipe down
Change-Id: Ia1fc4d66e73f21b55fdbfe59342af025e2a525d9
2022-01-05 14:43:43 -08:00
Vinit Nayak
1465a5af7b
Handle split selection when animation is disabled
...
* Consolidate setState() and setStateWithAnimation()
to be handled in the same manner
* If no animation, we run the created
PendingAnimation right away
Fixes: 209935590
Test: Tested w/ and w/o animation
Change-Id: I1d6fdba21761b6721e6bd52234016178547cd437
2022-01-05 12:19:11 -08:00
Hyunyoung Song
7b26540f64
Merge "Apply scrim protection to atomic state transition ALLAPPS -> NORMAL" into sc-v2-dev am: d96e07035c am: 1dc16ded78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16567964
Change-Id: I4d42bb56d3018637eb62d86b0c996abe7c77fe06
2022-01-05 20:01:18 +00:00
Hyunyoung Song
1dc16ded78
Merge "Apply scrim protection to atomic state transition ALLAPPS -> NORMAL" into sc-v2-dev am: d96e07035c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16567964
Change-Id: I161550c05e2849606c877d15eace8bbd2fbd19b9
2022-01-05 19:38:03 +00:00
Hyunyoung Song
d96e07035c
Merge "Apply scrim protection to atomic state transition ALLAPPS -> NORMAL" into sc-v2-dev
2022-01-05 19:27:04 +00:00
TreeHugger Robot
58a8f3e508
Merge "Trace fold/unfold animation with atrace"
2022-01-05 18:13:41 +00:00
Hyunyoung Song
153cd69d14
Apply scrim protection to atomic state transition ALLAPPS -> NORMAL
...
Bug: 209480401
Test: manual, video attached on the bug
TL;DR;; minimized the delta for sc-v2
Change-Id: If8c9281bb4366540b9a4ea10a9b363ce82d78daf
2022-01-04 21:55:14 -08:00
Brian Isganitis
1ab5741b05
Merge "Avoid race condition with hotseat predictions."
2022-01-04 20:42:47 +00:00
Nicolo' Mazzucato
23a4275e1c
Trace fold/unfold animation with atrace
...
This cl adds an always present listener to UnfoldTransitionProgressProvider to log a trace when the animation is running.
Bug: 203391751
Test: Traced with perfetto on top of this change and verified it is present as expected
Change-Id: I560c705795a37315bbdbdca0a1278bf7a2d99a64
2022-01-04 17:44:16 +01:00
TreeHugger Robot
8a3ee07ed8
Merge "Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f am: f58691ae42" into sc-v2-dev
2021-12-27 17:33:26 +00:00
TreeHugger Robot
15c9d2d4f6
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-12-23 18:31:55 +00:00
TreeHugger Robot
ea7c8babf4
Merge "Import translations. DO NOT MERGE ANYWHERE"
2021-12-23 18:28:11 +00:00
TreeHugger Robot
59ebc0c3c9
Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f am: f58691ae42
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16444734
Change-Id: Idd834fc5a587e2cdb3425612514efe54ece792cc
2021-12-23 07:15:54 +00:00
TreeHugger Robot
f58691ae42
Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16444734
Change-Id: I405e4c79cc91ccbeb0472870ad1395eccaa8b64b
2021-12-23 06:55:10 +00:00
TreeHugger Robot
c0231f8d0f
Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev
2021-12-23 06:40:12 +00:00
TreeHugger Robot
5181163070
Merge "Fix testStressSwipeToOverview" into sc-dev am: aabead2db8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471550
Change-Id: Id7353bbafe62f70b0b1659455e731bc3ecf85de2
2021-12-22 20:23:47 +00:00
TreeHugger Robot
925768d35a
Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-dev am: 1a453f1547
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471461
Change-Id: Ia6ddad23a2ebaa5737ffe12ce91501ec23dc8489
2021-12-22 20:23:45 +00:00
TreeHugger Robot
1d9fd080b1
Merge "Log launcher settings whenever launcher layout is logged using pull atom." into sc-v2-dev am: 092c90c55e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16516392
Change-Id: I4e666ac2ccc5cc91072a57ef6bbb9bd925a071df
2021-12-22 20:09:20 +00:00
TreeHugger Robot
092c90c55e
Merge "Log launcher settings whenever launcher layout is logged using pull atom." into sc-v2-dev
2021-12-22 19:55:44 +00:00
Pat Manning
ee01176810
Fix launcher scroll distance for TAPL tests.
...
Test is passing correctly but for the wrong reasons. If we attempted to use a different distance it would have failed.
Bug: 197630182
Test: manual
Change-Id: Ib275b89c86cdb9f75d40b9d25c8c498098b543b7
2021-12-22 09:55:53 +00:00
Bill Yi
e5398a78f7
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I972a88132908946ba41fa402b7e68b83a0537f01
2021-12-22 07:55:54 +00:00
Bill Yi
3b6d4acdc3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9c252fc5b0d8ac7e84357ef6493dc83f0996805b
2021-12-22 07:52:09 +00:00
Tony Huang
3688cdfd58
Merge "Animate split divider" into sc-v2-dev am: fc6fc6d651 am: 8809f7d0ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16291218
Change-Id: Ic80849d85faa025ef286e888601b8bf595443e57
2021-12-22 03:12:18 +00:00