Commit Graph

49925 Commits

Author SHA1 Message Date
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
wilsonshih 651d22c907 Public API setSplashScreenStyle(3/N)
Use public API setSplashScreenStyle to set preferred style directly.

Bug: 203497083
Test: atest SplashscreenTests
Change-Id: Iac9bbef39fd1398e5612709056f49ee94eb805cf
2021-12-20 17:23:54 +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
Android Build Coastguard Worker b252c22ad0 Snap for 8010657 from 75867ae0ba to sc-v2-release
Change-Id: I1545372a1cc8ccacad2e6a0b8ca5b236f95d19db
2021-12-17 00:08:45 +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
Bill Yi 69d5b8d398 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 189f1ce908 am: a0cf7967db -s ours am: 81d7f5cfa1 -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: I1cdf85101708d66b72d9f4359874618c6f8ff232
2021-12-16 16:32:55 +00:00
TreeHugger Robot 61c7f0c6d9 Merge changes from topic "presubmit-am-2f8e16fe33c44e5196ee3ee1963fafb2" into sc-qpr1-dev am: 04162f05d7 am: 62f10cad58
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474030

Change-Id: I93aea4cda24ba0dafa436c39c4491830caf4e434
2021-12-16 16:32:15 +00:00
Bill Yi 927681e12f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 384c30fa4c am: 439705b5a3 -s ours am: 53f35980bf -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: Ic0d0fbf6b1ef78404766e274558b41fbbbe70e9c
2021-12-16 16:32:13 +00:00
Bill Yi 0ca20ff79a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8942bc90bf -s ours am: 6247c73793 -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: Ieb8eed29d21d0c32befcaf8224d8d790cdf15b75
2021-12-16 16:30:50 +00:00
TreeHugger Robot e75c91459c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 649325ad1a -s ours am: 4d6831e2b9 -s ours am: 3ffaf3c71f -s ours am: 6a04e85a40 -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: Ia45615ccfc36719eaebabf7529aac1fc4c85f4fd
2021-12-16 16:27:53 +00:00
TreeHugger Robot 2af737f4e4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: d1841de078 -s ours am: 011e9314e6 -s ours am: f5721154da -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: I7837e3f4b0092665faddea8d13fcbe545cb361de
2021-12-16 16:27:38 +00:00
TreeHugger Robot 3f9df5e866 Merge changes from topic "presubmit-am-299ca4020ed94d05b0ac27bbf6752f7a" into sc-qpr1-dev am: cd30824c99 am: 63d5fd85e6 am: ad0d18bd86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474027

Change-Id: Ic737844b7f4e0e41b95b9f79e88e7d7e51c82c33
2021-12-16 16:27:30 +00:00
Bill Yi 4f028244f9 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 189f1ce908 am: a0cf7967db -s ours am: 964665a000 -s ours am: 2154f37847 -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: I6170b94e8ec296110aec04a4fb59dc72a11df84e
2021-12-16 16:27:28 +00:00
TreeHugger Robot c2024d32a3 Merge changes from topic "presubmit-am-2f8e16fe33c44e5196ee3ee1963fafb2" into sc-qpr1-dev am: 04162f05d7 am: e2e3340998 am: 5dcb88cb71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16474030

Change-Id: I1d3e23427ab95e5d4ecb5abbe297f4eac120fe01
2021-12-16 16:26:34 +00:00
Bill Yi 23a8bac384 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 384c30fa4c am: 439705b5a3 -s ours am: 2d4d5863b7 -s ours am: 4b2275537a -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: I22f4f0e2aa87411b7ee4450c8b02f1d3da780f6f
2021-12-16 16:26:32 +00:00