sfufa@google.com
226843cde1
[Search] Introduce notifyEvent api in OneSearch plugin
...
Bug: 204243851
Test: presubmit
Change-Id: Idba665419038f743f3d977602dab44d270f94642
2021-11-09 16:41:52 -08:00
Android Build Coastguard Worker
459253dc36
Snap for 7898627 from f37d7a21f2 to sc-v2-release
...
Change-Id: I0a0e6e1181e968b9ea302fba1df0a9a06d9a24a9
2021-11-10 00:08:07 +00:00
Vinit Nayak
4d57e7091f
Shows AppPairs in previous tasks
...
Fixes: 203006080
Change-Id: I63912a61e7617ec41f229c19cc267dc5a1857bae
2021-11-09 13:47:18 -08:00
Jon Miranda
796ec235bb
Add resume check to other WorkProfileTests to fix flakiness. am: f37d7a21f2 am: 9ca3c46421
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16222650
Change-Id: Ia69a5904cf794c5127d6ecd5c995ee16fbde95c6
2021-11-09 21:25:26 +00:00
Jon Miranda
d0de5ca3e4
Add resume check to other WorkProfileTests to fix flakiness. am: f37d7a21f2 am: cbe0f5fa63
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16222650
Change-Id: Ib2bd359448328ab1fea1fcb5f68c1ad2b5e4e466
2021-11-09 21:24:47 +00: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
Jon Miranda
cbe0f5fa63
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: Ibb9c82bdab00dae3953a33b4e53f785528fdf2f3
2021-11-09 21:01:35 +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
bc53f801bb
Merge "Remove gap between screenIds when restoring from single display device" into sc-v2-dev am: 048a8246fa am: 3789aa1c86
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16191338
Change-Id: Ib496f264cba523f480eaf7bbd6463b57ed36a9e3
2021-11-09 17:45:22 +00:00
Alex Chau
c3a92ca2eb
Merge "Remove gap between screenIds when restoring from single display device" into sc-v2-dev am: 048a8246fa am: 2ccecc1614
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16191338
Change-Id: Ia4a19dfe7d59ff7b71e1ca35c22493a371dc3723
2021-11-09 17:44:40 +00: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
2ccecc1614
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: I7d37cd871cf8f6b506154458ba09bc4fe5e9b2e0
2021-11-09 17:23:05 +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
1461f4d41f
Merge "Fix a case that task jump when dismissing" into sc-v2-dev am: 055d9a5f07 am: 13b23613fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16194618
Change-Id: I3552e89da4f9f3811aa007efa07a3a5514b351eb
2021-11-09 16:39:14 +00:00
TreeHugger Robot
abc00984f2
Merge "Fix a case that task jump when dismissing" into sc-v2-dev am: 055d9a5f07 am: 690bd9c527
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16194618
Change-Id: I48f8ef4dd29940960a1da80a0e8728603eec9ff7
2021-11-09 16:38:25 +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
690bd9c527
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: Ia76826d79488d3fcf11d100206456a69d09a81e1
2021-11-09 16:16:58 +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
Lais Andrade
f6e31b1d21
Fix overview scroll triggering haptics on swipe up gesture
...
Add an extra check to the PagedView, before triggering the haptic
callback, to avoid triggering this when the scroll happens
outside an actual scroll action (e.g. some setter methods that update
the scroll state).
This was triggered on some calls to setCurrentPage, that was
snapping the current scrolled page and triggering the
View.onScrollChanged method.
Fix: 201237536
Test: manual
Change-Id: I9b29981dba408493c78873aea42d8615ea7573a0
Merged-In: I9b29981dba408493c78873aea42d8615ea7573a0
(cherry picked from commit bff03e2d0f )
2021-11-09 10:26:42 +00:00
ryanlwlin
c8d588cff6
Fix the cutout of magnification border
...
If the window is unmagnifiable, it might cause the cutout of
magnification region.
To fix it, we set the flag when the touchable region is not the
entier window frame.
To fix NexusLauncherTests, we add a flag to avoid updateViewLayout
too frequently that would impact memory test and have the performance
issue.
Bug: 196510717
Test: manual test on gestural and 3-button navigation
presumbit test pass
run atest NexusLauncherTests with foldables
Change-Id: Ifef81640fe6c08ee1b0dcd3915227fba3002ea43
2021-11-09 14:17:48 +08:00
TreeHugger Robot
4fe2da7724
Merge "Fixing allSet page not closed if recentsAnimation takes time to start" into sc-v2-dev am: ef18f8c5a2 am: 382f0482db
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200930
Change-Id: I69713060b3292a452daad72a1e295bf5d03d6b58
2021-11-09 02:23:18 +00:00
TreeHugger Robot
e93ed69a30
Merge "Fixing allSet page not closed if recentsAnimation takes time to start" into sc-v2-dev am: ef18f8c5a2 am: ff75c4fe78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200930
Change-Id: Ia7eabd1f8317146eba56f47f16f40bb43c8a952e
2021-11-09 02:22:22 +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
ff75c4fe78
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: Ie168c6b5d955b9839f6d48b3204d9f62ed67cd90
2021-11-09 01:57:46 +00:00
Evan Rosky
e4102c6ffe
Support multiple tasks in recentsaninmation onTaskAppeared
...
Needed for app-pairs support
Bug: 204094785
Test: TODO
Change-Id: I3c5f8097b04b4033ba887e3c6d9e5ffd900df80e
2021-11-08 17:40:13 -08: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
7d72c5d34d
Merge "Testing to see if waiting for resume will fix flaky tests." into sc-v2-dev am: 1c79327f6e am: 27f2fb355d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214207
Change-Id: I639d286a0ab06b41a3ad8fd65d996e1c3576ae49
2021-11-09 00:34:09 +00:00
TreeHugger Robot
31df4aca76
Merge "Testing to see if waiting for resume will fix flaky tests." into sc-v2-dev am: 1c79327f6e am: 55bef3bdd4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214207
Change-Id: I8caedae65eff243061015e8076bb581c3aea2986
2021-11-09 00:33:31 +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
55bef3bdd4
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: I62876c198b063445041fa67bb75b3a9b90056762
2021-11-09 00:12:23 +00:00
Android Build Coastguard Worker
217e5c75b5
Snap for 7894766 from 44fcfa5bfd to sc-v2-release
...
Change-Id: I5a2c14d7dc9a8b9da43c321cd354ae732d3ccd8c
2021-11-09 00:08:49 +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
Brian Isganitis
149dbcb137
Allow overriding getOptionsPopup test method.
...
Test: TAPL
Bug: 205491724
Change-Id: Ib4adfa85df6aa9e52922f76479487c9459535fcd
2021-11-08 18:17:36 -05:00
TreeHugger Robot
fb23d19b0e
Merge "Play fallback animation when overlay is shown." into sc-v2-dev am: 44fcfa5bfd am: 1f60b796e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16202910
Change-Id: Ic4e4453545993c174af2be241c40af0c814cf978
2021-11-08 21:19:16 +00:00
TreeHugger Robot
f4f6add857
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: c010ea2f1b am: b441ef3a4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200933
Change-Id: Ic51d0f03cc71659de49cfadcaea34b8921eb373c
2021-11-08 21:19:06 +00:00
TreeHugger Robot
cd17e997f2
Merge "Play fallback animation when overlay is shown." into sc-v2-dev am: 44fcfa5bfd am: c6aa4b006a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16202910
Change-Id: Ia4fd2252ce84dd4a8ebca7c34060a54fa2f1eb57
2021-11-08 21:18:27 +00:00
TreeHugger Robot
06af9641b2
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: c010ea2f1b am: 71d7627105
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16200933
Change-Id: I9212815cf8784439a21a7910a6105f650d53baeb
2021-11-08 21:18:11 +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
c6aa4b006a
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: I08c3abb11c6c9926b1fd8e4af177e092ad20ec44
2021-11-08 20:57:04 +00:00
TreeHugger Robot
71d7627105
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: I706962ed79c20c10f85f0760faaa3ba60764ce2d
2021-11-08 20:56:56 +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
Tony Wickham
1278490ac0
Update reorder and folder creation radii
...
- Before, dragging anywhere in the cell (including space between cells) would trigger a reorder. Now, we compute the radius to the closest cell edge
- For creating folders on icons, we split the difference between the reorder circle (above) and the icon size
Test: enable DEBUG_VISUALIZE_OCCUPIED and manually drag to ensure works as described above
Bug: 204406063
Change-Id: I368714634ed42a930fd16849f2bde1589df1aa63
2021-11-08 12:04:30 -08: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
TreeHugger Robot
b2c382a9e2
Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev am: 3555ef3b31 am: 8ce34e46fb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118650
Change-Id: I5a6007bc014eaa6475659c472802ad6ba65cfa33
2021-11-08 17:30:03 +00:00
TreeHugger Robot
5d6396066a
Merge "Add to tapl quickswitch test for testing intermediate carousel." into sc-v2-dev am: 3555ef3b31 am: 6bef61cb68
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118650
Change-Id: Icc6cd0182ad47616042eb68bf8550e302df20856
2021-11-08 17:28:29 +00:00