Commit Graph

19533 Commits

Author SHA1 Message Date
vadimt 853852351f Correctly restarting Launcher from OOP tests
Waiting for touch interaction service; waiting for package-restart
events.

Bug: 136215685
Change-Id: I0c31c09fe3a58b898168dfdb4e4d23757b94a47c
2019-07-11 14:17:06 -07:00
Sunny Goyal f11dd8e107 Using a higher priority executor than BackgroundExecutor for various recents tasks
BackgroundExecutor is also using thread pool executor where the order is perserved

Change-Id: Ieef8825599f35fe22da3e9adb1270c5525449d62
2019-07-11 09:38:54 -07:00
Winson Chung 24fbe81e99 Merge "Copy resume callbacks list prior to making callbacks" into ub-launcher3-qt-dev
am: 094e5638a5

Change-Id: Ia3e9088f6341ebc37fd1286e12191cdd8776c64f
2019-07-10 13:59:06 -07:00
Winson Chung 094e5638a5 Merge "Copy resume callbacks list prior to making callbacks" into ub-launcher3-qt-dev 2019-07-10 20:44:29 +00:00
TreeHugger Robot ddf64806e2 Merge "Fix bug where icon is no present during app close animation." into ub-launcher3-qt-r1-dev 2019-07-10 17:54:58 +00:00
Hyunyoung Song c837b3a98f [automerger skipped] Merge "[DO NOT MERGE] Disable swipe down to pull noti shade for Q Bug: 136293958" into ub-launcher3-qt-dev
am: d59aefada0 -s ours
am skip reason: subject contains skip directive

Change-Id: Idca2ab4432d9df08c98f493db8bd19b8f790e653
2019-07-10 10:23:48 -07:00
TreeHugger Robot d59aefada0 Merge "[DO NOT MERGE] Disable swipe down to pull noti shade for Q Bug: 136293958" into ub-launcher3-qt-dev 2019-07-10 17:02:42 +00:00
Adam Cohen 315585d654 Merge "Fix issue where can't interact with Workspace while App => Home is running" into ub-launcher3-qt-r1-dev 2019-07-10 04:02:47 +00:00
Winson Chung 940b0ac015 Copy resume callbacks list prior to making callbacks
- Starting a deferred activity can trigger a new callback to be added
  to the list while we are iterating it

Bug: 136613192
Change-Id: I6690ab0695bb73f11bf343fb41e9fc86b4afec1b
2019-07-09 16:49:26 -07:00
Hyunyoung Song 4610ce4019 Merge "Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resets Bug: 135383592" into ub-launcher3-qt-r1-dev 2019-07-09 18:53:13 +00:00
Hyunyoung Song 4abfbd0670 Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resets
Bug: 135383592

TL;DR;; this reset is called when for instance OMS call happens

Change-Id: I57bb6c1c8833aff00e3be572dd19744afbb81eb5
2019-07-09 10:35:27 -07:00
Winson Chung 98de773474 Revert "Trigger heap dump when heap exceeds a limit"
This reverts commit e069291ecd.

Reason for revert: Blocked on FW change

Change-Id: Iabf6dee687e499544be5bf895563e57157b0f9e1
2019-07-08 20:32:35 +00:00
Adam Cohen ab6be31746 Fix issue where can't interact with Workspace while App => Home is running
=> Regression from recent CL ag/8074890
=> Fix which scopes the change down to the RecentsView, but not all PagedViews

Bug 136733573

Change-Id: I0abaa61b2b132d8086dc3b2cb3e3e9c1f181b5f5
2019-07-06 04:27:49 +00:00
Jon Miranda 826cdcd32f Fix bug where icon is no present during app close animation.
* WindowTransformSwipeHandler closes all AbstractFloatingViews, including
  ListenerView, which results in FloatingIconView getting removed.
* In IconLoadResult.onIconLoaded, we remove the check for isIconLoaded since
  its not needed. This was also causing a race condition since isIconLoaded
  is not set to true until after we tell onIconLoaded to run.
* In BaseDragLayer, we have a delay before checking if the view is open and
  then closing the floating view if true. This caused issues since we reycle
  the view. Now we check if the view is open before running the delay to call
  close.

Bug: 136044361
Change-Id: I7442a589a62c3cdf90b70d146e0ecf3e4300ddf7
2019-07-02 14:35:11 -07:00
Hyunyoung Song 4bfcf04ae9 [DO NOT MERGE] Disable swipe down to pull noti shade for Q
Bug: 136293958

Change-Id: Iac169d91a784b5f2d05410a06cd358f85b533562
2019-07-01 14:39:40 -07:00
Riddle Hsu 70697e48a8 Preload overview activity in background
To reduce the jank when swiping-up the overview which is not
ready yet, we restart the overview activity if the process
was died and update its configuration if there is change.

Bug: 127350205
Test: manual - Enable 2-button or gesture navigation.
      Swipe-up overview after:
      Case 1: Other app is in foreground and kill the process
              of launcher.
      Case 2: Change configuration, e.g. font size, language.

Change-Id: Ia6e365cc0faf3765781484d040bdddd4e10a2650
2019-07-01 13:29:34 +08:00
Winson Chung bd0003da99 Merge "Revert "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace""" into ub-launcher3-qt-r1-dev 2019-06-29 05:57:14 +00:00
Winson Chung f5e81122a0 Revert "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace""
This reverts commit c4c8b3c695.

Reason for revert: Re-enabling for R1

Change-Id: Id6706c548dcc9debbfaf2069164636bc22aa9b5e
2019-06-29 00:28:55 +00:00
vadimt e7a786ee96 Tests: Waiting for package-restart events when restarting Launcher
Bug: 136215685
Change-Id: Ia947994399220544c90bfc077437fc639e635a33
2019-06-28 17:14:37 -07:00
Winson Chung a95f92b202 Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"" into ub-launcher3-qt-dev
am: 66b1cc9675

Change-Id: Ia21a46d660aee97101b80e92f4f379e3ab1fbf92
2019-06-28 16:59:32 -07:00
Sunny Goyal 9247763835 Resetting UI state when the last has launched from Launcher
am: 7d3c299a08

Change-Id: I7becc11f2295118a6d20ede2a9e35ac21dfb1930
2019-06-28 16:59:13 -07:00
TreeHugger Robot 66b1cc9675 Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"" into ub-launcher3-qt-dev 2019-06-28 23:28:44 +00:00
TreeHugger Robot 01fe66cfcf Merge "Enable swipe down to open shade for non userdebug population" into ub-launcher3-qt-r1-dev 2019-06-28 23:19:17 +00:00
Winson Chung c4c8b3c695 Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"
This reverts commit 35062f8ed3.

Reason for revert: Moving to R1

Change-Id: Ifd19d78015a66c9fbe9a67845232d13e011943d3
2019-06-28 23:17:18 +00:00
Hyunyoung Song 4770e241c9 Enable swipe down to open shade for non userdebug population
Bug: 131356741
Change-Id: I74c682d39c70f785777b5a0804b31a0cc2369759
2019-06-28 16:09:26 -07:00
Sunny Goyal 7d3c299a08 Resetting UI state when the last has launched from Launcher
Bug: 135038270
Change-Id: I4a563116d8c7715163671dfffdfcf0f886e21623
2019-06-28 15:51:27 -07:00
Adam Cohen f6edfd94ce Merge "Make it a bit harder to break out of Overview once triggered" into ub-launcher3-qt-dev
am: 0e188d051e

Change-Id: Ib7712c5e131d328ef2bdcb5e0556b66cf86d0a66
2019-06-28 15:11:54 -07:00
Sunny Goyal 36c198b176 Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-dev
am: ed9127a732

Change-Id: I1c0b39b6be8a1dc528c0703ea39c172537e185b6
2019-06-28 15:07:52 -07:00
TreeHugger Robot 0e188d051e Merge "Make it a bit harder to break out of Overview once triggered" into ub-launcher3-qt-dev 2019-06-28 22:07:03 +00:00
TreeHugger Robot ed9127a732 Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-dev 2019-06-28 21:59:23 +00:00
Adam Cohen daf2036a82 Make it a bit harder to break out of Overview once triggered
Change-Id: I8814f1d7e219ba11a3abb191bf55192e3811f191
2019-06-28 14:57:09 -07:00
Vadim Tryshev 026914e190 Merge "Diagnosing launcher visible state in TAPL" into ub-launcher3-qt-r1-dev 2019-06-28 21:56:10 +00:00
Sunny Goyal 4f2d926d42 Resetting UI state when the last has launched
Bug: 135038270
Change-Id: Ie0af9c7d47f69b32caedd72f98ed1706bdbef5fa
2019-06-28 14:50:24 -07:00
Vadim Tryshev b63693ba3e Merge "Enable debug tracing for AllApps.flingBackward" into ub-launcher3-qt-r1-dev 2019-06-28 21:28:13 +00:00
Vadim Tryshev e46f9e5cf3 Merge "Temporary workarounds to make tests pass on a virtual device" into ub-launcher3-qt-r1-dev 2019-06-28 21:27:36 +00:00
Sunny Goyal 168cb346e5 Fixing accessibility arrow
am: 1dae67b49d

Change-Id: I96a6b2f224ee3c24e4031ea2ec0167d5f3306f37
2019-06-28 14:21:45 -07:00
vadimt 881a31560d Diagnosing launcher visible state in TAPL
Bug: 133891845
Change-Id: Ibdd959f50668fd6eeb5e48dacc370a054057b7fc
2019-06-28 14:21:00 -07:00
vadimt 615b823c94 Enable debug tracing for AllApps.flingBackward
Bug: 136280872
Change-Id: I128ee7b0f9c131fd102fce9d81d29fdcb4e8727d
2019-06-28 13:57:12 -07:00
vadimt 83d5eef5a5 Temporary workarounds to make tests pass on a virtual device
Bug: 136278866
Change-Id: I198cb4cdf94c2b1151b4b7249ae10dbcaa99a4fd
2019-06-28 13:12:58 -07:00
Sunny Goyal 1dae67b49d Fixing accessibility arrow
> Hiding arrow in background state and during quick switch
> Preventing arrow overlapping with search box in overview state

Bug: 135885458
Change-Id: Iadefba044717351d69480cde7d784cd04289d086
2019-06-27 23:18:46 -07:00
vadimt 73ed3e432c Adding tracing for a bug about missing input events
Bug: 136215685
Change-Id: I1e735c1e787710ae37b7c7d1a6a06498edd7c525
2019-06-27 19:03:33 -07:00
vadimt bd31868ea7 Adding system health diags for OOP tests
Bug: 133891845
Change-Id: I24aa2b1408b3ffe4105cd4a7892c8b5fec8740e1
2019-06-27 17:31:03 -07:00
Vadim Tryshev 059657068b Merge "Tapl: diagnosing anomalies" into ub-launcher3-qt-r1-dev 2019-06-27 20:38:58 +00:00
vadimt e8a7268116 Tapl: diagnosing anomalies
Bug: 133891845
Change-Id: I7e5afbdec580c6659917aa3e9586930d5f55ea51
2019-06-27 13:24:12 -07:00
vadimt 0b20a11d66 Converting even more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: Id36fca232b5aff5f6692142ce4a0c937d0531f4e
2019-06-27 18:38:09 +00:00
Vadim Tryshev 7926791fdb Merge "Revert "Converting even more tests to TAPL"" into ub-launcher3-qt-dev
am: 1703eb8b88

Change-Id: I570fadb5ff452f4363c4acddb3079ec076c14b71
2019-06-26 17:38:13 -07:00
Vadim Tryshev 1703eb8b88 Merge "Revert "Converting even more tests to TAPL"" into ub-launcher3-qt-dev 2019-06-27 00:20:51 +00:00
Vadim Tryshev 007e7e94b3 Revert "Converting even more tests to TAPL"
This reverts commit 406d49bdd7.

Reason for revert: Breaks tests on Crosshatch

Change-Id: I95ff541dfe8f6f1d7e1913d209b53abfbebe5336
2019-06-27 00:03:14 +00:00
vadimt bc699904d9 Reenabling tests in OOP
am: f45509ec8e

Change-Id: Ibd38193e9b1c2bfd49564e8e9bf77af7286f1a88
2019-06-26 17:02:03 -07:00
vadimt f45509ec8e Reenabling tests in OOP
Bug: 124524897
Change-Id: I8bdaa0d129c7366616359a3505f3d6b2d397e18f
2019-06-26 15:16:26 -07:00