Commit Graph

22778 Commits

Author SHA1 Message Date
Xin Li ecb37ee845 DO NOT MERGE - Merge Android 10 into master
Bug: 139893257
Change-Id: I157ff596deb419a57eca32a9b8d954d76294f627
2019-09-04 13:34:30 -07:00
Xin Li a12675cb34 DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master
Bug: 139893257
Change-Id: I5c31191da0b5afcb74323bba41285593b23da89d
2019-08-23 06:45:16 +00:00
Xin Li 26d5570bff DO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history
Bug: 139893257
Change-Id: If7acc22c05cd73fc1dd4e247fe1a009754f56301
2019-08-23 06:42:09 +00:00
Xin Li 5487e82df5 DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master
Bug: 134405016
Change-Id: I279b64afeef1fff82e47faf8a65da7e3454e9604
2019-08-14 12:04:08 -07:00
android-build-team Robot c87bbeea6b Merge cherrypicks of [9169765, 9170440, 9170173, 9170474, 9170250, 9170251, 9170252, 9170462, 9170463, 9170464, 9170264, 9170422, 9170465] into qt-release
Change-Id: Ibd56f04c2e465a1ddb728e0ef98a900069f5f5a1
2019-08-08 21:26:17 +00:00
Tony a50cf9772a Don't end launcher components anim early even if it does nothing
The janky animation that ends on the home screen with an invisible
task on top is caused by the following scenario (for example):
- Quick switch from task A to task B
- After landing on B, but before we get the callback that it was
  successfully launched, switch back to A (or you could go to C)

Now we are animating back to A, but we are still waiting to hear
whether B was successfully launched. If we hear that the launch
was indeed successful, we dutifully clean up after ourselves  by
returning launcher to its default state. Unfortunately, that
clobbers the current animation that is scrolling back to A, and
we end up in the bad state where we are showing the default
launcher state even though we just launched task B and were
about to launch task A.

Normally we avoid cleaning up the state animation if the user
is still controlling it. The reason we weren't doing that here
is because we ended the launcher animation early even though
the window animation was still running. Instead, we should keep
the launcher animation running for the full duration, so that
it prevents a cleanup from occurring in the middle.

Bug: 138620399
Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1
(cherry picked from commit 03c548901f)
(cherry picked from commit c5555c459b)
2019-08-08 21:25:41 +00:00
android-build-team Robot 72b4b22443 Merge cherrypicks of [8828839, 8824129, 8828883, 8828885, 8828888, 8828891, 8829076, 8828998, 8828999, 8828607, 8828957] into qt-release
Change-Id: I529b9190a4c234124cd5f32cf4b1ddabebda18cd
2019-07-25 04:12:49 +00:00
Jon Miranda 55ab9851a4 Fix bug where rounded corners were being set despite being disabled.
Bug: 138117089
Change-Id: Icb852e2e07d80c45ad3406ef432b89720887fccf
(cherry picked from commit e734efba8d)
2019-07-25 04:12:12 +00:00
Winson Chung 497f437908 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
Merged-In: I6690ab0695bb73f11bf343fb41e9fc86b4afec1b
(cherry picked from commit 940b0ac015)
(cherry picked from commit a8971c1462)
2019-07-25 04:12:06 +00:00
android-build-team Robot 831267c6a7 Merge cherrypicks of [8681848, 8682094, 8682365, 8682497, 8682498, 8682518, 8682519, 8681849, 8681887, 8681888, 8682539, 8682540, 8682541, 8681283, 8682521] into qt-release
Change-Id: I02cecc5553a53a6c0901a26a0f82fbf93500c93b
2019-07-18 04:11:46 +00:00
Jon Miranda 0473dcee07 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
(cherry picked from commit 826cdcd32f)
(cherry picked from commit bc27826478)
2019-07-18 04:10:15 +00:00
Anna Wasewicz 6a2718b241 Set the chips flag to false in QP1A. This flag should be off by default.
Chips should not be running in QP1A.
Bug:137290162

Change-Id: I159e1bd00d1f9ff4f6cf63daf93a68e3e8d063c8
(cherry picked from commit 7400bb3f72)
(cherry picked from commit 31d0a9c562)
2019-07-18 04:10:11 +00:00
android-build-team Robot c8d84f6d56 Merge cherrypicks of [8549820, 8549668, 8549613, 8549614, 8549935, 8549808, 8549876, 8549809, 8549552] into qt-release
Change-Id: I86207f3f19b13d8a3c99d77c594cd711e31b40a4
2019-07-11 19:50:22 +00:00
Hyunyoung Song eb66898be0 [DO NOT MERGE] Disable swipe down to pull noti shade for Q
Bug: 136293958

Change-Id: Iac169d91a784b5f2d05410a06cd358f85b533562
(cherry picked from commit 4bfcf04ae9)
2019-07-11 19:49:56 +00:00
android-build-team Robot 361d116bb9 Snap for 5719587 from 0a8243d463 to qt-release
Change-Id: I5351458b8351342cd4b2dc65fcfbf29a68f9947b
2019-07-11 03:25:27 +00:00
Hyunyoung Song 0a8243d463 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
(cherry picked from commit 4abfbd0670)
2019-07-09 21:07:33 +00:00
Xin Li 6070b98796 [automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
am: e4aaef8c13 -s ours
am skip reason: subject contains skip directive

Change-Id: I05dccc0212091f220cdaa41c2ad604217823b914
2019-07-02 10:04:43 -07:00
android-build-team Robot 80b93eb963 Snap for 5702458 from a0967d21e6 to qt-release
Change-Id: Ia11ae0fb421acfc84ac062f284f561ec90895b27
2019-07-02 04:25:22 +00:00
Xin Li e4aaef8c13 DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
Bug: 134405016
Change-Id: Iffa76d04a53396d33b64146843926b35b5b469ee
2019-07-01 21:00:00 +00:00
Sunny Goyal 2ff91d6dde Merging ub-launcher3-qt-dev, build 5697268
am: a0967d21e6

Change-Id: I90471834864a28606133a979871b4c69179333d9
2019-07-01 12:06:12 -07:00
android-build-team Robot b60777d0e6 Snap for 5698743 from 5cd4333b5c to qt-release
Change-Id: I68733418d6f3b897113a1d41c85f044c970bb2ce
2019-06-29 23:05:49 +00: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
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
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
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
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
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
Winson Chung 11cacbe1ab Merging ub-launcher3-qt-dev, build 5691374
am: 5cd4333b5c

Change-Id: If3e5ca48b2e92cc1ae953affbbd162b8f96735a0
2019-06-27 10:28:32 -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
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 f45509ec8e Reenabling tests in OOP
Bug: 124524897
Change-Id: I8bdaa0d129c7366616359a3505f3d6b2d397e18f
2019-06-26 15:16:26 -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 e33c08d398 Merge "Finish recents animation when starting a new activity" into ub-launcher3-qt-dev 2019-06-26 21:47:48 +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
vadimt 406d49bdd7 Converting even more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: I08587e7a50420e57970ed8feec4524111145dc31
2019-06-26 13:58:33 -07:00
Vadim Tryshev a730a233b8 Merge "Converting more tests to TAPL" into ub-launcher3-qt-dev 2019-06-26 18:42:11 +00: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
vadimt 2d4b05f295 Converting more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: I3346f96ddba3224eb4b92b15344d71b8ed6e32e0
2019-06-26 11:23:23 -07:00
vadimt 3a6eedc61b Converting some widget tests to TAPL
Bug: 115582915
Change-Id: I07c6ca5ef712cf1a85d81e7d4b4bda3604777ac8
2019-06-25 18:34:48 -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
Winson Chung df9fc63e8c Clean up some more refs to thumbnail data
- Always return a copy of the task list to ensure that the model doesn't
  hold refs to the thumbnail data if it was loaded into the same task
- Always clear the task thumbnail data ref once the visibility of the
  task view changes to be invisible

Bug: 132309376
Test: Enter overview scroll to the end of the list, relaunch app and take
      heap dump

Change-Id: I4437fd30172a5fe2a78c111f780163a1e6bbbb54
2019-06-25 14:44:05 -07:00
Rajeev Kumar 8ca7205c24 Fix NPE in OverviewComponentObserver constructor while accessing activityInfo.
Bug: 132461400
Test: Manual tests
Change-Id: Icee3730454db8129e597714c147c2cbaddc70987
(cherry picked from commit 219208a0f5)
2019-06-25 20:55:53 +00:00
Sunny Goyal 700dc99d9b Enabling simple gesture navigation for 3P launcher
In case of 3P launcher, swipe-up will go to Launcher and there will be
no way to reach overview.

Bug: 135769778
Change-Id: Ib2c6bb1b13e6055d30b7360ec077b0a2fece66ff
2019-06-25 13:25:30 -07:00
Vadim Tryshev a90531cd00 Merge "TAPL: swiping up from workspace always starts at the screen bottom" into ub-launcher3-qt-dev 2019-06-25 00:27:25 +00:00