Commit Graph

13651 Commits

Author SHA1 Message Date
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 ab3c913f99 Revert "Trigger heap dump when heap exceeds a limit"
am: 98de773474

Change-Id: I33619077232c440d9468fa15ed5e459b9d1ed54a
2019-07-08 14:21:52 -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
Hyunyoung Song d0f5db4a37 Merging ub-launcher3-qt-r1-dev, build 5710902
Test: Manual

Bug:115582915 P2 [Testing] Make all launcher tests gesture-stable
Bug:127350205 P1 Ensure that Launcher is always created and is in right configuration
Bug:131116002 P2 Convert tests to TAPL and enable them
Bug:131356741 P1 use transferFocus to implement SWIPE DOWN on homescreen to open noti shade
Bug:133891845 P2 TAPL: need clearer diags when a crash dialog is over Launcher or there is lock screeen
Bug:136215685 P1 Flake: swiping up from Home to Overview in 2-button mode sometimes fails
Bug:136278866 P2 Temporary workarounds to make tests pass on Cuttlefish
Bug:136280872 P1 Flake: Flinging in all apps opens workspace
Bug:64712476 P3 Import translations for dev branches
Change-Id: I39841b30840e9d88a2b98b21c4aba1c44d2bc446
2019-07-08 01:27:00 -07: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
Riddle Hsu 5c30fc7c9d Preload overview activity in background
am: 70697e48a8

Change-Id: Idb03c474925dda336f6ce5009457f47dc9cd35fb
2019-07-01 23:57:41 -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 c075b035f5 Merge "Revert "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace""" into ub-launcher3-qt-r1-dev
am: bd0003da99

Change-Id: I22d4b10d4bc5ab3e1db7eaad9d1ca9d76753cccc
2019-06-28 23:20:11 -07:00
Sunny Goyal a0967d21e6 Merging ub-launcher3-qt-dev, build 5697268
Test: Manual

Bug:135038270 P1 Apps getting stuck while switching in the overiew screen.
Bug:135885458 P1 Arrow floating when in app switcher
Change-Id: Ifa132ba008423a95291a17deea3d8e3846dbbacc
2019-06-28 18:46:48 -07: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
Winson Chung 804d14e49a Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"" into ub-launcher3-qt-dev am: 66b1cc9675
am: a95f92b202

Change-Id: Ic358d88b60019bf36e583a3a417fbf9e692ca8b2
2019-06-28 17:04:52 -07:00
Sunny Goyal d1cdfd8559 Resetting UI state when the last has launched from Launcher am: 7d3c299a08
am: 9247763835

Change-Id: I1ecd0af45168518a12d93073f154013c6838c003
2019-06-28 17:04:36 -07:00
Hyunyoung Song e759d82b4b Merge "Enable swipe down to open shade for non userdebug population" into ub-launcher3-qt-r1-dev
am: 01fe66cfcf

Change-Id: I917526b623ecc0cb4e6bc605a8488f032291cfb9
2019-06-28 17:04:17 -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 5827423b0f Merge "Make it a bit harder to break out of Overview once triggered" into ub-launcher3-qt-dev am: 0e188d051e
am: f6edfd94ce

Change-Id: I7b94f896bb6ec6d8c91430b62029de884e304d60
2019-06-28 15:19:54 -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 a2cc80a469 Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-dev am: ed9127a732
am: 36c198b176

Change-Id: I0a2c8d65b16f3bbc51a4ebe2f8f2313c12f16647
2019-06-28 15:11:53 -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
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 a3da30f671 Merge "Temporary workarounds to make tests pass on a virtual device" into ub-launcher3-qt-r1-dev
am: e46f9e5cf3

Change-Id: Ib221d9c201f2b396b138631d8548d1862d2e7643
2019-06-28 14:33:47 -07:00
Sunny Goyal 6b72e4b33d Fixing accessibility arrow am: 1dae67b49d
am: 168cb346e5

Change-Id: Ice40e65dbbc3c95afc2cc1d8f4f205a247dc75e5
2019-06-28 14:27:46 -07: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 83d5eef5a5 Temporary workarounds to make tests pass on a virtual device
Bug: 136278866
Change-Id: I198cb4cdf94c2b1151b4b7249ae10dbcaa99a4fd
2019-06-28 13:12:58 -07:00
vadimt af85697376 Adding tracing for a bug about missing input events
am: 73ed3e432c

Change-Id: I2672dc3eb348d2aadaedf95e7069da9bb745e1c9
2019-06-28 11:11:37 -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
Winson Chung 5cd4333b5c Merging ub-launcher3-qt-dev, build 5691374
Test: Manual

Bug:115582915 P2 [Testing] Make all launcher tests gesture-stable
Bug:121280703 P2 Finish implementation of PortraitLandscape annotation for tests
Bug:124524897 P2 Enable some tests in OOP mode
Bug:129158983 P1 Badge bubbles with app icon; use launcher lib for icon, dot, badge rendering
Bug:131116002 P2 Convert tests to TAPL and enable them
Bug:131356741 P1 use transferFocus to implement SWIPE DOWN on homescreen to open noti shade
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:132309376 P1 Launcher held ION buffers after clearing all apps in Recent Apps
Bug:132455160 P1 [Gesture Nav] Home to Overview Transition Improvement
Bug:132461400 P1 Fatal exceptions in Launcher3
Bug:132811175 P1 Jump cut if you quickly open an app after going home
Bug:133450867 P1 App window draws outside of icon shape during app to home transition
Bug:133765434 P1 [Flaky test] Launching task didn't open a new window
Bug:133867119 P2 Lab-only flake: want to switch from workspace to all apps; Swipe failed to receive an event for the swipe end
Bug:134609899 P1 Overscrolling on all apps leads to a wrong current task
Bug:135011207 P0 Corner Invocation / Inconsistent - F/C
Bug:135150619 P1 [Launcher] Trigger heapdump on RSS HWM measurements
Bug:135150767 P4 [Launcher] Test reduced resolution snapshots
Bug:135161289 P2 KB3 on qt-dev can't pick Launcher3GoIconRecents from vendor Makefile
Bug:135222111 P1 Major issues with hotseat when predictions are disabled
Bug:135287203 P1 Overview crashes on rotation
Bug:135299165 P1 Configuration changes might result in Launcher ending up in a corrupt state
Bug:135472635 P2 Bad overriden class: java.lang.ClassNotFoundException: com.android.quickstep.QuickstepProcessInitializer
Bug:135473571 P0 Pixel launcher keeps stopping in SuW
Bug:135571566 P4 Search bar is above icons. Even opening and closing launcher does not help
Bug:135686388 P1 Quickswitch sometimes jump
Bug:135687556 P1 Increase assistant gesture touch region on new devices
Bug:135766310 P2 Concerns over config changes during state transitions #2
Bug:135769778 P1 "System navigation changed" notification is shown during P4 setup
2019-06-26 18:36:10 -07:00
Winson Chung 7cbdc13ac2 Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ub-launcher3-qt-dev am: 937688bff4
am: 914c1a47c7

Change-Id: I8ef0a5bf4bcdbc5dd8292cd8999380903fa3bfff
2019-06-26 15:22:29 -07:00
Winson Chung c027d7ddfb Merge "Finish recents animation when starting a new activity" into ub-launcher3-qt-dev am: e33c08d398
am: f2c006f2af

Change-Id: I099d560dc3ec8d489b736daf96accbd945c8032b
2019-06-26 15:22:11 -07:00
Winson Chung 937688bff4 Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ub-launcher3-qt-dev 2019-06-26 21:48:56 +00:00
Hyunyoung Song 35062f8ed3 Enable FLAG_SLIPPERY window flag when swipe down on workspace
Bug: 131356741
Test: manual

Change-Id: Ibe0e3a03e7406d5d882a1c63265d6e4e0253983e
2019-06-26 21:48:29 +00:00
Winson Chung 0b70cd4ca4 Finish recents animation when starting a new activity
- Defer starting the activity when an activity is paused, and finish
  the current animation to trigger launcher to be resumed

Bug: 132811175
Test: Swipe up and launch a new app
Change-Id: I78b76800052512eb93f69ccf0523f4d752a82ece
2019-06-26 14:01:56 -07:00
Winson Chung 53e2103958 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev am: fad3823420
am: 6dbbf63248

Change-Id: I2df25a57de1054b850b48a326b28080c606a93f4
2019-06-26 12:25:09 -07:00
Winson Chung fad3823420 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev 2019-06-26 18:25:58 +00:00
Vadim Tryshev 1d20c1a65a Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev am: 8a532e0bec
am: bcad1107d6

Change-Id: I9b86799a01a18826343feaac1394697739dcd7ec
2019-06-25 17:29:34 -07:00
Vadim Tryshev 8a532e0bec Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev 2019-06-25 23:43:19 +00:00
vadimt 26cfff41ba Taking screenshots for local tests for FallbackRecentsTest
Change-Id: I604e7e90f2146069827b520d44db1854edc7aa77
2019-06-25 16:26:33 -07:00
Sunny Goyal 01a34251c3 Enabling simple gesture navigation for 3P launcher am: 700dc99d9b
am: e253fc0426

Change-Id: I6d7064a6a0e1f2c1f0ca072f01dda95ca73404fb
2019-06-25 14:59:57 -07:00