Commit Graph
28165 Commits
Author SHA1 Message Date
Vinit Nayak 1be8a17986 Revert "Disabling flaky test until fix is found"
This reverts commit fdaa12d028.

Reason for revert: Should be fixed with ag/11252279

Bug: 150958400
Change-Id: Ia61462239ad5d8aba502bc8513d685046c1a1361
2020-05-08 20:41:01 +00:00
Sunny Goyal cf1a61ad33 Merge "Fixing swipe-up form app in landspace, rotates the surface" into ub-launcher3-rvc-dev am: 9d85f52386
Change-Id: I63e94d441f14220104da3a97fcf6590f0fa4aecf
2020-05-08 20:21:54 +00:00
vadimt 759f771a8d Generating a long-press even only when it's expected
I'm pretty sure that accidental long-presses are a result of fundamental
flaws in UIAutomator. The fix is tracked separately and is unlikely to
happen at all.

For now, just placing the generation under a condition.

Bug: 156113558
Change-Id: I8f369f934f9f576cf672b7fa98fbc9a63135602b
2020-05-08 13:16:25 -07:00
Sunny Goyal 9d85f52386 Merge "Fixing swipe-up form app in landspace, rotates the surface" into ub-launcher3-rvc-dev 2020-05-08 20:11:56 +00:00
TreeHugger Robot 6474c22731 Merge "Fixing Fallback recents crashes when going to modal state" into ub-launcher3-rvc-dev am: 4d1203efab
Change-Id: I69fe77a7e58845fd66da7c0ab1ebff06729bdc69
2020-05-08 19:56:42 +00:00
Jon Miranda 62a4e45de1 Add logs to debug playtime crash and band aid fix for release builds. am: 7b02804d9f
Change-Id: I73b2b7a687b95d8d740c521ba9bb482c38eb10a2
2020-05-08 19:47:40 +00:00
Jon Miranda 4efafa607f Add logs to debug playtime crash and band aid fix for release builds. am: 7b02804d9f
Change-Id: Ia89f8d6908fbb79fa7d1f8674f4e9efae275a198
2020-05-08 19:46:58 +00:00
TreeHugger Robot 4d1203efab Merge "Fixing Fallback recents crashes when going to modal state" into ub-launcher3-rvc-dev 2020-05-08 19:46:35 +00:00
TreeHugger Robot a9587007bc Merge "Adding tracing for switching to overview instead of all apps" into ub-launcher3-rvc-dev am: 16fb9fac22
Change-Id: I4eed7a1e6f7bdf17536ea42a2044c46a8568bf65
2020-05-08 18:51:30 +00:00
TreeHugger Robot 16fb9fac22 Merge "Adding tracing for switching to overview instead of all apps" into ub-launcher3-rvc-dev 2020-05-08 18:39:39 +00:00
vadimt 2794f563a0 Adding tracing for switching to overview instead of all apps
Bug: 156095088
Change-Id: I1257617192e913d06edd0879396957b1e40524b7
2020-05-08 10:39:29 -07:00
Tony Wickham 33c42898bc Merge "Cleanup quick switch logic" into ub-launcher3-rvc-dev am: a8a377cd49
Change-Id: If9aa7f30518b8d846d1d63de7330d1dde92120b3
2020-05-08 17:36:09 +00:00
Tony Wickham a8a377cd49 Merge "Cleanup quick switch logic" into ub-launcher3-rvc-dev 2020-05-08 17:22:19 +00:00
Sunny Goyal 302ecabf2c Fixing Fallback recents crashes when going to modal state
> Adding robo tests to prevent such regressions
Bug: 155570625

Change-Id: I5cfbfc454849116f881322e8785dfdbad6f24d08
2020-05-08 10:12:17 -07:00
Jon Miranda 7b02804d9f Add logs to debug playtime crash and band aid fix for release builds.
Bug: 153821199
Change-Id: I0caa546254bb51ca8b88cdb16d79c054560bf2be
(cherry picked from commit e620872b18)
2020-05-08 16:36:38 +00:00
vadimt 60d3333ff0 Adding waiting for Launcher initialization
This may fix or ease TIS sometimes not receiving events.

Bug: 154157191
Change-Id: I5db9e88397788014dbba9716d777a2b97347828c
2020-05-08 09:29:08 -07:00
James O'Leary 2669e2623e Merging from ub-launcher3-rvc-dev @ build 6469858 am: fe68c9eec1
Change-Id: I5c8729c570a384623a9a89d1962f5a6bf87789f9
2020-05-08 16:29:07 +00:00
James O'Leary 35f5ad1768 Merging from ub-launcher3-rvc-dev @ build 6469858 am: fe68c9eec1
Change-Id: I141fba1ee7e0e79b5a04674cab6d789dc7e956ce
2020-05-08 16:29:00 +00:00
TreeHugger Robot 58fa4ce505 Merge "Adding tracing for non-detection of Pause" into ub-launcher3-rvc-dev am: 9e77f25d52
Change-Id: I9a874e22e30e02ec57f899eec62e54e6bac591bb
2020-05-08 16:28:47 +00:00
TreeHugger Robot 9e77f25d52 Merge "Adding tracing for non-detection of Pause" into ub-launcher3-rvc-dev 2020-05-08 16:08:32 +00:00
Sunny Goyal 7a63fb2da6 Fixing swipe-up form app in landspace, rotates the surface
PreviewPositionHelper was getting the Launcher rotation from context,
instead of RecentsOrientationState

Bug: 156042694
Change-Id: I645eccfcb519c59fe2f78ecb1a77d8a315bc36c9
2020-05-08 08:48:36 -07:00
android-build-team Robot 1a9ccfdc8e Snap for 6474498 from e404de9187 to mainline-release
Change-Id: I27c62f8817b76c09cff6fabee12936a1fb17c693
2020-05-08 07:08:59 +00:00
Jonathan Miranda a4095c090c Merge "Add logs to debug playtime crash and band aid fix for release builds." into ub-launcher3-rvc-dev am: 759995980a
Change-Id: If61796ec83a6017293d3ad1de01aeb9569fc7e18
2020-05-08 03:53:04 +00:00
Jonathan Miranda 759995980a Merge "Add logs to debug playtime crash and band aid fix for release builds." into ub-launcher3-rvc-dev 2020-05-08 03:38:50 +00:00
vadimt 091794671d Adding tracing for non-detection of Pause
Bug: 156044202
Change-Id: I16f196db6266a0c3a84b59b7cdeb29863a37ff0f
2020-05-07 20:06:58 -07:00
android-build-team Robot b84951a5de Snap for 6473661 from 685e29b236 to rvc-release
Change-Id: I6881da70af252d2eec00d52189ef8ecf227ea6fc
2020-05-08 01:01:24 +00:00
TreeHugger Robot 6d49c81ce0 Merge "Moving TransformParams to an separate class." into ub-launcher3-rvc-dev am: 0e0bcc7631
Change-Id: I1046d9e3b041e7d725e19acab45c0ea4780aa904
2020-05-08 00:19:43 +00:00
TreeHugger Robot 2547f57cee Merge "Disabling OverviewActionsView buttons while scrolling or clear all shown." into ub-launcher3-rvc-dev am: e4d1a71413
Change-Id: Ibeed4fefaa4072c37bb9df9ce31a08b47767b040
2020-05-08 00:19:25 +00:00
TreeHugger Robot 0e0bcc7631 Merge "Moving TransformParams to an separate class." into ub-launcher3-rvc-dev 2020-05-08 00:09:05 +00:00
TreeHugger Robot e4d1a71413 Merge "Disabling OverviewActionsView buttons while scrolling or clear all shown." into ub-launcher3-rvc-dev 2020-05-08 00:02:54 +00:00
Sunny Goyal f29376bb29 Moving TransformParams to an separate class.
Moving some hepler methods to TransformParams so that some configurations
can be shared easily.

Change-Id: I07fff1e27e4615b56491aebf0ca2a911686ad979
2020-05-07 15:24:38 -07:00
Samuel Fufa 1012fd2326 Make educational half-sheet black in dark mode
Screenshot: https://screenshot.googleplex.com/tjk37GfrRhO

Bug: 152361557
Test: Manual
Change-Id: I30fffd0af8f4768ac20e6d13899d0e0182b0dec8
2020-05-07 15:18:05 -07:00
James O'Leary fe68c9eec1 Merging from ub-launcher3-rvc-dev @ build 6469858
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6469858.html

Change-Id: Ia2feae3192f875638692e55f4c88746c0a8159a3
2020-05-07 17:53:51 -04:00
Vadim Tryshev b4c6fb5265 Merge "Restarting event reader after reaching the end of stream" into ub-launcher3-rvc-dev am: 340e68219e
Change-Id: I91da4369ca3461e2f6d4040157f65e9caa713d2c
2020-05-07 21:41:30 +00:00
Vadim Tryshev 340e68219e Merge "Restarting event reader after reaching the end of stream" into ub-launcher3-rvc-dev 2020-05-07 21:29:46 +00:00
Tony Wickham cc9fe80323 Cleanup quick switch logic
- Remove mFinishingRecentsAnimationTaskId and related logic;
  track mLastStartedTaskId and mLastAppearedTaskTarget instead.
- Don't finish controller if new gesture is in progress, only
  finish it when the last started task appears (and invalidate
  the handler at that point).
- Remove onTaskAppeared() from GestureState, handle it directly
  in BaseSwipeHandler.
- When the end target animation finishes, possibly change the
  end target from LAST_TASK to NEW_TASK or vice versa,
  depending on the last appeared task.

Bug: 154814771
Bug: 154727089
Bug: 155609695
Bug: 154812078
Change-Id: I38669515d064a131361359087f502783d875ddde
2020-05-07 15:39:57 -05:00
vadimt 3e089e8a26 Restarting event reader after reaching the end of stream
This should'n happen, but happens. The best we can do is to re-run the
logcat command.

Change-Id: I471d9f0188243c81585b75f81dd03450c1f7ad9b
2020-05-07 12:29:19 -07:00
Samuel Fufa e404de9187 Decouple feature flag and predictions am: 685e29b236
Change-Id: Idfdd4682719ad0cded1e9c5eb792b4d69e42a923
2020-05-07 18:32:36 +00:00
Samuel Fufa 8ef78b0fe7 Decouple feature flag and predictions am: 685e29b236
Change-Id: Ib20de77a605c518edde85136bfc4df35ea4eb84d
2020-05-07 18:32:20 +00:00
TreeHugger Robot 5966ddd2bd Merge "Likely, fixing view hierarchy changing during pressHome." into ub-launcher3-rvc-dev am: d4f87007b6
Change-Id: Ic38bdfa848088c008ae96440bca843c74fe5f5f6
2020-05-07 17:50:01 +00:00
Sunny Goyal abea55a63f Moving animation configuration and definition out of state definition am: f67db3531b
Change-Id: I592d8fe9017660aa1d7c63ee39e2fc8ea575f5e9
2020-05-07 17:49:51 +00:00
TreeHugger Robot d4f87007b6 Merge "Likely, fixing view hierarchy changing during pressHome." into ub-launcher3-rvc-dev 2020-05-07 17:41:22 +00:00
Sunny Goyal f67db3531b Moving animation configuration and definition out of state definition
This removes cross dependency between StateManager and State object so
that it can be easily generalized

Change-Id: I62851fc4b653655cb40f37023db9651055ec7c9c
2020-05-07 01:33:57 -07:00
vadimt 29896284a8 Likely, fixing view hierarchy changing during pressHome.
Test RequestPinItemTest.testPinShortcut doesn't wait for the add-to-home
prompt to disappear before proceeding to pressHome. So sometimes
pressHome still sees that prompt that disappears while pressHome is
executing.

Now waiting for the prompt to disappear.

Bug: 155926212
Change-Id: I2c7bfe26839ae406da592e81de8836666c373756
2020-05-06 19:08:59 -07:00
TreeHugger Robot fbbbf19af0 Merge "Implements LAUNCHER_ITEM_DROP_FOLDER_CREATED event." into ub-launcher3-rvc-dev am: 7826bf52c7
Change-Id: I8170e02f3b7b941fd07064c3f30104f7b515eba1
2020-05-07 01:47:41 +00:00
TreeHugger Robot 7826bf52c7 Merge "Implements LAUNCHER_ITEM_DROP_FOLDER_CREATED event." into ub-launcher3-rvc-dev 2020-05-07 01:38:51 +00:00
James O'Leary bfa2133fe1 Merge "Revert "Compose gesture integrated fully into Launcher"" into ub-launcher3-rvc-dev am: ac327df55c
Change-Id: I8c565067ea1c804ec08c3d6b76008f41e6ac77d5
2020-05-07 01:28:20 +00:00
James O'Leary ac327df55c Merge "Revert "Compose gesture integrated fully into Launcher"" into ub-launcher3-rvc-dev 2020-05-07 01:14:44 +00:00
TreeHugger Robot 815be8a827 Merge "Debug tracing for view hierarchy changing during pressHome" into ub-launcher3-rvc-dev am: 6505951750
Change-Id: I6fcc517f9be29e08abaa6b74168dea43679d240e
2020-05-07 00:47:18 +00:00
TreeHugger Robot 6505951750 Merge "Debug tracing for view hierarchy changing during pressHome" into ub-launcher3-rvc-dev 2020-05-07 00:32:36 +00:00