Commit Graph

45056 Commits

Author SHA1 Message Date
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
Tony Huang 8809f7d0ea Merge "Animate split divider" into sc-v2-dev am: fc6fc6d651
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16291218

Change-Id: I766e92af53c28cd76d8c72231405dee1a6685aa7
2021-12-22 03:00:10 +00:00
Tony Huang fc6fc6d651 Merge "Animate split divider" into sc-v2-dev 2021-12-22 02:47:05 +00:00
TreeHugger Robot e5d050176a [automerger skipped] Merge "Fix testStressSwipeToOverview" into sc-dev am: aabead2db8 am: b3b4bc0e2a -s ours
am skip reason: Merged-In I19616f7921c9821f1b45a90a3e4bec4fb3b8a9d3 with SHA-1 ce6bf7dd7f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471550

Change-Id: Ie228253d9aef7774104c531dcaa3fdde62764ecb
2021-12-22 02:29:23 +00:00
TreeHugger Robot 8cc0381e10 [automerger skipped] Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-dev am: 1a453f1547 am: f745885bf8 -s ours
am skip reason: Merged-In I76e27c96b54293805546c0d6c82e77f975c69d7a with SHA-1 66ed0ff23e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471461

Change-Id: I2078b7a8594da4e9ffc33337e5c314ccf57a24c1
2021-12-22 02:29:21 +00:00
TreeHugger Robot b3b4bc0e2a Merge "Fix testStressSwipeToOverview" into sc-dev am: aabead2db8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16471550

Change-Id: I690c705ff3a32739a5b1d68dc5ad6978dd44501c
2021-12-22 02:06:42 +00:00
TreeHugger Robot f745885bf8 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: Id089f1a64f6eb3a721b64a2006187742b8a4bfa0
2021-12-22 02:06:41 +00:00
TreeHugger Robot aabead2db8 Merge "Fix testStressSwipeToOverview" into sc-dev 2021-12-22 01:50:59 +00:00
TreeHugger Robot 1a453f1547 Merge "Fix issues with starting new recents animation before previous onRecentsAnimationStart" into sc-dev 2021-12-22 01:50:59 +00:00
Vinit Nayak 283fcdce06 [automerger skipped] Merge "Use all targets passed back for recents animation" into sc-v2-dev am: d0b4d10f0e am: a54b468caf -s ours
am skip reason: Merged-In I252d6c663e9ca145ef394ac08d9a32da02d4a03b with SHA-1 44b86c89bb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16459078

Change-Id: Id0853107092bf9e6c02f56ca539512e9276ee5b0
2021-12-21 17:40:55 +00:00
Vinit Nayak a54b468caf Merge "Use all targets passed back for recents animation" into sc-v2-dev am: d0b4d10f0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16459078

Change-Id: I13e0167719700c7e7ad776d852df11023325cd64
2021-12-21 17:24:41 +00:00
Vinit Nayak d0b4d10f0e Merge "Use all targets passed back for recents animation" into sc-v2-dev 2021-12-21 17:10:00 +00:00
Vinit Nayak f421ad2ef8 Use all targets passed back for recents animation
* Previously we were removing all targets except for
the app that was to be animated. That caused issues
because we look for the home app to determine if the
app leashes need to be drawn underneath or not.
* Now (assuming at most two non-home app leashes will
be sent) we add all the non-home targets along with
the desired app target by excluding 1 of the 2 non-home
apps

Bug: 199936292
Merged-In: I252d6c663e9ca145ef394ac08d9a32da02d4a03b
Change-Id: I252d6c663e9ca145ef394ac08d9a32da02d4a03b
2021-12-21 05:45:00 +00:00
Vinit Nayak b61a2f6bd4 Merge "Use all targets passed back for recents animation" 2021-12-21 01:34:22 +00:00
Tony Wickham ffe1255ad2 Merge "Update hotseat alpha in TaskbarLauncherStateController#init()" into sc-v2-dev am: e064f51642 am: 5e9a8503b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16492578

Change-Id: If50f4410ade4b1a6173c29eb06229f4396732bef
2021-12-21 00:56:52 +00:00
Tony Wickham 5e9a8503b6 Merge "Update hotseat alpha in TaskbarLauncherStateController#init()" into sc-v2-dev am: e064f51642
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16492578

Change-Id: Ie31a2acc903fc0f95e43f110a3233cd3648096ef
2021-12-21 00:46:12 +00:00
Tony Wickham e064f51642 Merge "Update hotseat alpha in TaskbarLauncherStateController#init()" into sc-v2-dev 2021-12-21 00:30:12 +00:00
TreeHugger Robot 3aad3c0fca Merge "Not generating memory dump for intentional leak tests" 2021-12-21 00:27:00 +00:00
Winson Chung 7512ab6025 Add logs for null task list am: a46d36240b am: 2af8b3ebd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16495546

Change-Id: I91933c5a71feb13184cac0578fd1108d791bf106
2021-12-20 23:17:07 +00:00
Winson Chung 2af8b3ebd7 Add logs for null task list am: a46d36240b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16495546

Change-Id: I64a851428833a4d127e4a3ffc23a6fe511ceb73d
2021-12-20 23:04:23 +00:00
Vinit Nayak 44b86c89bb Use all targets passed back for recents animation
* Previously we were removing all targets except for
the app that was to be animated. That caused issues
because we look for the home app to determine if the
app leashes need to be drawn underneath or not.
* Now (assuming at most two non-home app leashes will
be sent) we add all the non-home targets along with
the desired app target by excluding 1 of the 2 non-home
apps

Bug: 199936292
Change-Id: I252d6c663e9ca145ef394ac08d9a32da02d4a03b
2021-12-20 14:54:03 -08:00
Winson Chung a46d36240b Add logs for null task list
Bug: 206648922
Test: Adding logs
Change-Id: I23b8a9fadd1e555f1c3f7a75940bd7faa56b777b
2021-12-20 22:49:10 +00:00
Siarhei Vishniakou b36a1c1760 Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: d85be8e64a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16495549

Change-Id: Ic6e232ea3f4a1c4c43110bce501bbeebdc41da7d
2021-12-20 21:42:17 +00:00
vadimt abe8e3a947 Not generating memory dump for intentional leak tests
Memory dump can be generated only once, so generating it in the intentional leak test leaves us without a meaningful dump if a real leak happens later, and produces a confusing message that the dump was already generated.

Bug: 195319692
Test: presubmit
Change-Id: I35932deba0c46ddb27362467109daf74d75cbff4
2021-12-20 12:35:53 -08:00
Siarhei Vishniakou d85be8e64a Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery
LauncherActivity uses FLAG_SLIPPERY for certain interactions. For
example, when home screen is shown, and the user pulls down from not the
top of the screen, and notification shade is getting displayed, then the
touch should be getting transferred to the NotificationShade using
FLAG_SLIPPERY.

The newly introduced permission is added to launcher in order for this
flag to be applied to the window.

Bug: 206188649
Bug: 157929241
Test: reviewed logs, ensure that NexusLauncherActivity has FLAG_SLIPPERY
Test: re-ran the performance regression test
Change-Id: I8d05fa3663687b5382a59b0d47cdac404844c3b7
2021-12-17 08:50:20 +00:00
Winson Chung 3ed9d508bd Merge "Fix some small related to back button alpha" into sc-v2-dev am: 75867ae0ba am: 747dae3bb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16487030

Change-Id: I1392f9f16613ef9fb0add480260d9d5af3fbed16
2021-12-16 22:58:29 +00:00
Winson Chung 33f1d348ab Temporarily disable SUW specific insets logic am: 361f82b237 am: 3b22691fe2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16492581

Change-Id: I797fca3adbe2fdd95b0a59607f97b4d5273f1c37
2021-12-16 22:57:14 +00:00
Winson Chung 747dae3bb2 Merge "Fix some small related to back button alpha" into sc-v2-dev am: 75867ae0ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16487030

Change-Id: I419c0b0a2918f50d522da24c117fff8332bb3dd0
2021-12-16 22:16:34 +00:00
Winson Chung 3b22691fe2 Temporarily disable SUW specific insets logic am: 361f82b237
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16492581

Change-Id: Id2b28d4428f2ac518b158502123b596995006188
2021-12-16 22:16:21 +00:00
Winson Chung 75867ae0ba Merge "Fix some small related to back button alpha" into sc-v2-dev 2021-12-16 21:59:27 +00:00
Colin Cross f0ada36098 [automerger skipped] Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" am: 6faed50183 -s ours am: 0bd628d967 -s ours am: d98610937f -s ours am: b310a85db7 -s ours
am skip reason: Merged-In Ia2a677f3a3987751349bad951ff136b2d55f439f with SHA-1 e13ff2cb9a is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1925297

Change-Id: I78e21011d339383b18b6b8a2a54e01aabb893c1d
2021-12-16 21:17:27 +00:00
Colin Cross b310a85db7 [automerger skipped] Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" am: 6faed50183 -s ours am: 0bd628d967 -s ours am: d98610937f -s ours
am skip reason: Merged-In Ia2a677f3a3987751349bad951ff136b2d55f439f with SHA-1 e13ff2cb9a is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1925297

Change-Id: I8912495f0159a9ead2548f698f2b7a6897a53ade
2021-12-16 20:59:43 +00:00
Colin Cross d98610937f [automerger skipped] Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" am: 6faed50183 -s ours am: 0bd628d967 -s ours
am skip reason: Merged-In Ia2a677f3a3987751349bad951ff136b2d55f439f with SHA-1 e13ff2cb9a is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1925297

Change-Id: I1344fd107d54b7eef3f773d63cf5691939e1887f
2021-12-16 20:43:51 +00:00
Colin Cross 0bd628d967 [automerger skipped] Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" am: 6faed50183 -s ours
am skip reason: Merged-In Ia2a677f3a3987751349bad951ff136b2d55f439f with SHA-1 e13ff2cb9a is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1925297

Change-Id: I28ae0a1341f26a50a74e1f26eaefe3628504a70b
2021-12-16 19:40:40 +00:00
Colin Cross 6faed50183 Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" 2021-12-16 19:26:17 +00:00
TreeHugger Robot d791382c60 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-12-16 18:50:06 +00:00
Winson Chung 361f82b237 Temporarily disable SUW specific insets logic
Bug: 204384193
Test: Check that SUW is inset

Change-Id: Id00f10f51b52ef8ec375f650fd44bb2c6eb31e09
2021-12-16 18:45:25 +00:00
Tony Wickham bf07660f9e Update hotseat alpha in TaskbarLauncherStateController#init()
Technically the consumer should do that already, but the consumer isn't called if the value isn't changed (in this case, it's going from 1 to 1). So explicitly call the consumer once in init().

Test: Open an app, toggle dark theme from quick settings, go home and ensure hotseat isn't visible during the transition
Fixes: 211002647
Change-Id: I5a9680282b3982d9b6f982833cd671b224767518
2021-12-16 18:29:41 +00:00
TreeHugger Robot af3ac41de8 Merge "Fixing drawable cloning does not preserve badge" 2021-12-16 18:03:42 +00:00
Winson Chung e62a1996b7 Fix some small related to back button alpha
- Skip updating nav button dark intensity if we're setting it manually
  while SUW is running
- There should only be one alpha StatePropertyHolder for the same view
  otherwise when updating the properties it can clobber a previous state

Bug: 204384193
Test: Disable dark mode on SUW and verify nav buttons show
Change-Id: I450c3a5697954d9b464bdd622847beb2d01f3802
2021-12-16 17:47:53 +00:00
TreeHugger Robot c8a3c2a26c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 649325ad1a -s ours am: 4d6831e2b9 -s ours am: 74713bf7fe -s ours am: adfc2526aa -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: Id44a50d24566d9ff8b45cffd556f1a0539b48d72
2021-12-16 16:40:54 +00:00
TreeHugger Robot 6698cdd80b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: d1841de078 -s ours am: 85064cbe20 -s ours am: 37f7042e78 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474031

Change-Id: I19fedd4b29e4062061d72644ed774ac5473a08bb
2021-12-16 16:40:47 +00:00
TreeHugger Robot 1f74704615 Merge changes from topic "presubmit-am-299ca4020ed94d05b0ac27bbf6752f7a" into sc-qpr1-dev am: cd30824c99 am: 122f22518b am: 567854f88d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: Iad85c6ca311d2785be54d29a96728be1dd15deaf
2021-12-16 16:40:30 +00:00
Bill Yi c5da7c082d [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 189f1ce908 am: a0cf7967db -s ours am: 81d7f5cfa1 -s ours am: 69d5b8d398 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: Idc75c5b55f997c9926027dc57c082bf2ec819794
2021-12-16 16:40:29 +00:00
TreeHugger Robot ec6edc918d Merge changes from topic "presubmit-am-2f8e16fe33c44e5196ee3ee1963fafb2" into sc-qpr1-dev am: 04162f05d7 am: 62f10cad58 am: 61c7f0c6d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474030

Change-Id: Id1b1ab4d9096828d7300a283b080cc928b2a0e2d
2021-12-16 16:40:03 +00:00
Bill Yi 320898919f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 384c30fa4c am: 439705b5a3 -s ours am: 53f35980bf -s ours am: 927681e12f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474030

Change-Id: I7eed8b1eac0db8e92c0a69c969dfaa4c6f6072ec
2021-12-16 16:40:02 +00:00
Bill Yi 2ff00ecee0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8942bc90bf -s ours am: 6247c73793 -s ours am: 0ca20ff79a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474028

Change-Id: If1d1309ca9fae9541aa0fcb7e30846df52fdf7e7
2021-12-16 16:39:05 +00:00
TreeHugger Robot adfc2526aa [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 649325ad1a -s ours am: 4d6831e2b9 -s ours am: 74713bf7fe -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: I7013385fd4211bb490f477fb5c3244fa7d66d70d
2021-12-16 16:33:23 +00:00
TreeHugger Robot 37f7042e78 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: d1841de078 -s ours am: 85064cbe20 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474031

Change-Id: Ia799fda92518e05bebb045e8da121579ef358cf3
2021-12-16 16:33:08 +00:00
TreeHugger Robot 567854f88d Merge changes from topic "presubmit-am-299ca4020ed94d05b0ac27bbf6752f7a" into sc-qpr1-dev am: cd30824c99 am: 122f22518b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: I0e1ed4aac6dd20f83993c8a8754374db91677014
2021-12-16 16:32:56 +00:00