Commit Graph

35336 Commits

Author SHA1 Message Date
Vinit Nayak 6f15d11ebf Merge "Shows AppPairs in previous tasks" into sc-v2-dev am: 524d6b83e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134803

Change-Id: I726ce816e156897ec719cc7108315a7f49b5d2d1
2021-11-10 16:47:30 +00:00
Vinit Nayak 524d6b83e9 Merge "Shows AppPairs in previous tasks" into sc-v2-dev 2021-11-10 16:33:50 +00:00
TreeHugger Robot 31926e6c5d Merge "Fix wrong getIconBounds method inside BubbleTextView" into sc-v2-dev am: 31bd663332
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16186109

Change-Id: I20d38e8b3bef394ce3daba18c773e3f066c9a750
2021-11-10 09:52:21 +00:00
TreeHugger Robot 3f6a430c20 Merge "Don't skip adding stub home task if applyLoadPlan hasn't run" into sc-v2-dev am: e4f6f951da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16221737

Change-Id: Id43dc63c7799e1ebedecac7f524e4b66a6772546
2021-11-10 09:52:15 +00:00
TreeHugger Robot 31bd663332 Merge "Fix wrong getIconBounds method inside BubbleTextView" into sc-v2-dev 2021-11-10 09:44:26 +00:00
TreeHugger Robot e4f6f951da Merge "Don't skip adding stub home task if applyLoadPlan hasn't run" into sc-v2-dev 2021-11-10 09:38:44 +00:00
Jon Miranda c7e9e637bc Add back waitForStateTransitionToEnd to fix flakiness. am: 8568602aaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16225468

Change-Id: Iad482d9d3d23b92f71097d621600f7347f73b804
2021-11-10 09:20:28 +00:00
Jon Miranda 8568602aaf Add back waitForStateTransitionToEnd to fix flakiness.
Bug: 202735477
Test: presubmit
Change-Id: I03c7e8b0c40177f4e6e38a7d9aa3e01b029effd6
2021-11-09 17:02:31 -08:00
Vinit Nayak 4d57e7091f Shows AppPairs in previous tasks
Fixes: 203006080
Change-Id: I63912a61e7617ec41f229c19cc267dc5a1857bae
2021-11-09 13:47:18 -08:00
Jon Miranda 9ca3c46421 Add resume check to other WorkProfileTests to fix flakiness. am: f37d7a21f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16222650

Change-Id: I053f7bc25f55ce066d6ec9bad17aa029ea0a1b19
2021-11-09 21:04:30 +00:00
Hyunyoung Song c2f024beb6 Fix wrong getIconBounds method inside BubbleTextView
Bug: 205065809
Test: screenshot on the bug

TL;DR;; created two variants depending on the layout direction

Change-Id: I9c5e74409c701b1f219ca450de0dca2291507045
2021-11-09 11:39:21 -08:00
Alex Chau 7c4bc7dd74 Don't skip adding stub home task if applyLoadPlan hasn't run
- In FallbackRecentsTest.goToOverviewFromHome, home task gesture starts before applyLoadPlan, causing shouldAddStubTaskView to return false because getTaskViewCount is 0. This falsely avoid home task to be added to RecentsView, causing the animation to be drastically different from what user sees outside the test
- Added a check on whether applyLoadPlan is ever called to solve the problem

Fix: 205580523
Test: FallbackRecentsTest.goToOverviewFromHome
Change-Id: I2e435e56008e916e8f7e1037d3fa3c8177437d13
2021-11-09 19:01:23 +00:00
Jon Miranda f37d7a21f2 Add resume check to other WorkProfileTests to fix flakiness.
- Tests were flaky with waitForStateTransitionToEnd
- Tests stopped flaking with both waitForResume and waitForStateTransitionToEnd
- waitForResume may be enough to fix the flakiness, so
  removing waitForStateTransitionToEnd for now, if flakiness
  returns we can add it back

Bug: 202735477
Test: presubmit
Change-Id: Ib9cc16ea7815387582486517a87249d0053475f6
2021-11-09 10:14:01 -08:00
Alex Chau 3789aa1c86 Merge "Remove gap between screenIds when restoring from single display device" into sc-v2-dev am: 048a8246fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16191338

Change-Id: I4561a5a799ac82c86756f591a1b330c02974547e
2021-11-09 17:25:57 +00:00
Alex Chau 048a8246fa Merge "Remove gap between screenIds when restoring from single display device" into sc-v2-dev 2021-11-09 17:01:10 +00:00
Alex Chau ac038434f0 Remove gap between screenIds when restoring from single display device
- In RestoreDbTask.sanitizeDb, add extra step to fill all screenIds gaps so that no empty pages are left in between
  e.g. [0, 3, 4, 6, 7] -> [0, 1, 2, 3, 4]

Fix: 201085524
Test: RestoreDbTaskTest
Change-Id: If0b577bf789347cc490ada0b22f2cd39ee1a33bb
2021-11-09 17:01:01 +00:00
TreeHugger Robot 13b23613fa Merge "Fix a case that task jump when dismissing" into sc-v2-dev am: 055d9a5f07
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16194618

Change-Id: I31aae2a9bed46f7421f330126a4a1f5cbca48767
2021-11-09 16:19:50 +00:00
TreeHugger Robot 055d9a5f07 Merge "Fix a case that task jump when dismissing" into sc-v2-dev 2021-11-09 16:03:45 +00:00
TreeHugger Robot 382f0482db Merge "Fixing allSet page not closed if recentsAnimation takes time to start" into sc-v2-dev am: ef18f8c5a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200930

Change-Id: If8de6389bb53307def876328001092aeb3504b3a
2021-11-09 02:00:36 +00:00
TreeHugger Robot ef18f8c5a2 Merge "Fixing allSet page not closed if recentsAnimation takes time to start" into sc-v2-dev 2021-11-09 01:35:48 +00:00
TreeHugger Robot 27f2fb355d Merge "Testing to see if waiting for resume will fix flaky tests." into sc-v2-dev am: 1c79327f6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214207

Change-Id: Ie577045ed8b6a12b9cd69d8aac19242227cf2dd7
2021-11-09 00:15:13 +00:00
TreeHugger Robot 1c79327f6e Merge "Testing to see if waiting for resume will fix flaky tests." into sc-v2-dev 2021-11-08 23:52:50 +00:00
TreeHugger Robot 1f60b796e3 Merge "Play fallback animation when overlay is shown." into sc-v2-dev am: 44fcfa5bfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16202910

Change-Id: I2d805b0b53dfcf4ca94debafca0d41ce3efb5c23
2021-11-08 20:59:53 +00:00
TreeHugger Robot b441ef3a4f Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: c010ea2f1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200933

Change-Id: Iea056ea82f4dfb1b7ba01e1fbd59b55c5055b88b
2021-11-08 20:59:48 +00:00
TreeHugger Robot 44fcfa5bfd Merge "Play fallback animation when overlay is shown." into sc-v2-dev 2021-11-08 20:49:58 +00:00
TreeHugger Robot c010ea2f1b Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev 2021-11-08 20:33:00 +00:00
Jon Miranda b9f5602d96 Testing to see if waiting for resume will fix flaky tests.
Similar to how AbstractLauncherUITest waits for resume after
switching state to Normal.

Bug: 202735477
Test: presubmit
Change-Id: I61834d32f8005491a4e14a354dc0097b05267f7b
2021-11-08 11:58:10 -08:00
Alex Chau 5885b074dc Fix a case that task jump when dismissing
- Fixed an edge case that RecentsView was not snapped to last tasks, but become snapped to last tasks after dismiss, as last pages' scroll is the position where ClearAllButton is barely invisible, instead of aligned to mLastComputedTaskSize.
- Fixed a case that misclassifed as split select

Fix: 202941373
Test: manual
Change-Id: Ib50dda471189da4325cd8ed57d600cc64907c978
2021-11-08 16:57:38 +00:00
TreeHugger Robot 6bef61cb68 Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev am: 3555ef3b31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118650

Change-Id: I1e6a4b81d0c4f8865f84c4252887d0e16ec310af
2021-11-08 13:31:17 +00:00
TreeHugger Robot 3555ef3b31 Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev 2021-11-08 13:15:44 +00:00
Pat Manning 04486f19bb Add to tapl quickswitch test for testing intermediate carousel.
Test: TaplTestsQuickstep.java
Fix: 197630182
Change-Id: I5f325995e22b76eee710154ca54a050eaf70b150
2021-11-08 11:32:56 +00:00
Jerry Chang 68f7c965b4 Merge "Accept snapshot list when cancelling recents animation" into sc-v2-dev am: 2e2f49e8a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16192191

Change-Id: I6a316c2378fc10cf0d6a04e258192e174ceeb8bb
2021-11-08 10:39:13 +00:00
Jerry Chang 2e2f49e8a5 Merge "Accept snapshot list when cancelling recents animation" into sc-v2-dev 2021-11-08 10:22:34 +00:00
TreeHugger Robot 9f3406f0f4 Merge changes from topic "presubmit-am-b573694ac00f425591ad626ca6ca14e0" into sc-qpr1-dev am: d076575915 am: 6ae13e1c6f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16202102

Change-Id: I0750833124f51ec8921f26041b247af684d71056
2021-11-08 03:03:49 +00:00
Bill Yi 4e6c3bf45c [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d6c42a8d7c am: b84eeb1b73 -s ours am: f0b0d8564d -s ours
am skip reason: subject contains skip directive

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

Change-Id: If302b16239b98602efa74c53280c19e5dd406a79
2021-11-08 03:03:49 +00:00
Bill Yi a9fff0809e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5cc4dfef04 -s ours am: dc79545f1c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icc4867932f561eedba937a081840059b0710e3ab
2021-11-08 03:03:43 +00:00
TreeHugger Robot 30ead94c3d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: c2f320703c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1eee8543a4e4f2b7f15fd417e0919064a0032e2e
2021-11-08 03:03:39 +00:00
TreeHugger Robot 6ae13e1c6f Merge changes from topic "presubmit-am-b573694ac00f425591ad626ca6ca14e0" into sc-qpr1-dev am: d076575915
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16202102

Change-Id: Ib38b2a97a25a224b0f04b2a2a191ca6754b37b3e
2021-11-08 02:46:29 +00:00
Bill Yi f0b0d8564d [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d6c42a8d7c am: b84eeb1b73 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8e86854edafaef1f9b6c95390af5bb5741559194
2021-11-08 02:46:28 +00:00
Bill Yi dc79545f1c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5cc4dfef04 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie4d05fd157dc7618c5d5e8b95c2fce895d673470
2021-11-08 02:45:55 +00:00
TreeHugger Robot c2f320703c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-08 02:32:52 +00:00
TreeHugger Robot d076575915 Merge changes from topic "presubmit-am-b573694ac00f425591ad626ca6ca14e0" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: d6c42a8d7c
  Import translations. DO NOT MERGE ANYWHERE
2021-11-08 02:29:55 +00:00
Jerry Chang 331f46fab3 Accept snapshot list when cancelling recents animation
Bug: 200813008
Test: enter overview after activated split screen, observed task
      thumbnails showing with correct bounds after roation.
Change-Id: Ifea17d2c685d16db111c4fab88e131595254b9a5
2021-11-08 09:55:43 +08:00
TreeHugger Robot 943621523d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 032d2e83e4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icf021a0ffe298026afabbea129e04b095e0502c9
2021-11-08 01:51:39 +00:00
TreeHugger Robot 032d2e83e4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-08 01:29:43 +00:00
TreeHugger Robot a3e2aa240e Merge "Add popup menu and click handling to taskbar." into sc-v2-dev am: 68953fc693
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16042092

Change-Id: I797ed800a07854f47f7732600232457790be0bb1
2021-11-05 23:42:59 +00:00
TreeHugger Robot 68953fc693 Merge "Add popup menu and click handling to taskbar." into sc-v2-dev 2021-11-05 23:22:59 +00:00
Jon Miranda 4e5664ac28 Play fallback animation when overlay is shown.
Bug: 205086529
Test: go to -1, click to open app, swipe back
Change-Id: I905511e0ac7576d2134a10088289a5ca37d1b257
2021-11-05 16:16:12 -07:00
Jonathan Miranda 83a1a90b6e Merge "Testing to see if waiting for transition to end will fix flaky tests" into sc-v2-dev am: 58763e47d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200260

Change-Id: I03f38a9b8dfb6a185e2b18029c0688264e0d6b8b
2021-11-05 23:08:43 +00:00
Jonathan Miranda 58763e47d6 Merge "Testing to see if waiting for transition to end will fix flaky tests" into sc-v2-dev 2021-11-05 22:53:17 +00:00