Commit Graph

34630 Commits

Author SHA1 Message Date
Tony Wickham d9515f72f5 Finish recents animation when touching during animation to recents
am: 3fca6aaec2

Change-Id: Ibb855543b828a47f110275343d7b18b771c583bd
2019-07-22 11:57:51 -07:00
android-build-team Robot 633bd48c17 Snap for 5743256 from 840fec4272 to rvc-release
Change-Id: Iae268221d574a74630a493763d208dfa565e69ba
2019-07-21 00:06:49 +00:00
android-build-team Robot 585f11d14c Snap for 5743138 from 5841e40a95 to qt-qpr1-release
Change-Id: Iac7e4a1ae76692494f43751de276d79e4f3fea2b
2019-07-20 23:38:20 +00:00
android-build-team Robot ecdc7ed702 Snap for 5743241 from 5841e40a95 to qt-c2f2-release
Change-Id: Id09158e6f1212952d99d19ebadc762cf05393a0f
2019-07-20 23:03:26 +00:00
Winson Chung 840fec4272 Merging ub-launcher3-qt-r1-dev, build 5736932 am: 5841e40a95
am: a3ed013179

Change-Id: I50837300184a70419f84da72adb8d0be8ef58a9c
2019-07-20 08:52:32 -07:00
Winson Chung a3ed013179 Merging ub-launcher3-qt-r1-dev, build 5736932
am: 5841e40a95

Change-Id: Icd0e789912b0198e884a9c1cd222a134a380cf67
2019-07-20 08:46:34 -07:00
Tony Wickham 3fca6aaec2 Finish recents animation when touching during animation to recents
This regressed in ag/8542000, where we cancel the animation instead of
ending it. We should only cancel when going to home; in other cases, we
should still call end().

Bug: 137487381
Change-Id: I093954908c3ac747ec3132aa700c8be2f927631a
2019-07-19 16:53:00 -07:00
Zak Cohen bc4d213535 TaskView - add a getter for the bitmap data.
This allows other components to get it directly from the view, rather
than retaining their own copy.

Bug: 137129923
Tested: Manual

Change-Id: Ibab307517c31cd3cb59b4d77ff390fd97546e86d
2019-07-19 15:14:53 -07:00
Vadim Tryshev 2adbee9a91 Merge "Logging original exception in PortraitLandscapeRunner" into ub-launcher3-qt-r1-dev
am: 3ab3c768f5

Change-Id: I9ce76715ff9970f031a326a81b167d0d9de2e740
2019-07-19 12:45:45 -07:00
Vadim Tryshev 3ab3c768f5 Merge "Logging original exception in PortraitLandscapeRunner" into ub-launcher3-qt-r1-dev 2019-07-19 19:25:46 +00:00
vadimt 21cd128141 Logging original exception in PortraitLandscapeRunner
Change-Id: I672e563df45f1f0dcdda5b1f863919f0150e73e6
2019-07-19 12:12:49 -07:00
Vadim Tryshev 690f98603b Merge "Improving system health diags" into ub-launcher3-qt-r1-dev
am: a7b3de9e45

Change-Id: I1e178abac0518f801932c8e23529a0d5a8e95d84
2019-07-19 11:33:34 -07:00
Vinit Nayak f9b585b507 Don't specify 1P Launcher3 type if 3P Launcher is active
Instead of referencing Launcher directly (which may not be
present when there's a 3P launcher), reference the lowest
common ancestor of Launcher and RecentActivity to avoid
ClassCastExceptions.

Test: Visually inspected that Pixel Launcher crash dialog
no longer pops up.
* Install 3P launcher
* In developer options enable "enable freeform windows"
* Restart phone for settings to take effect
* Try to use it on any app you have in recent tasks

Fixes: 135419782
Change-Id: Ie1f54880ab46956b23e253850ca7f79b161da9bd
2019-07-19 11:11:35 -07:00
Vadim Tryshev a7b3de9e45 Merge "Improving system health diags" into ub-launcher3-qt-r1-dev 2019-07-19 17:59:14 +00:00
vadimt 76d2a6fcc3 Improving system health diags
Change-Id: I207c5b9c9ad9e99646419b7a4bd77b59a067f26d
2019-07-19 10:40:25 -07:00
vadimt d3c2a6cecf Fix waiting for launcher initialization
am: c8d496fe00

Change-Id: I7d764152d5d9da8c9df8db479dd01683d9e6148a
2019-07-18 19:10:06 -07:00
vadimt c8d496fe00 Fix waiting for launcher initialization
Bug: 137836033

Change-Id: Ifc8ce867abd85eaeacd09a2b39636ecc4109c046
2019-07-18 18:31:49 -07:00
Hyunyoung Song 7f7ba484a8 Merge "Guard against NPE inside BaseIconFactory Bug: 137253043" into ub-launcher3-qt-r1-dev
am: b1b4562a46

Change-Id: If97029ff59cc426db1dd4a7d433a5ab264eabeba
2019-07-18 16:56:00 -07:00
Hyunyoung Song b1b4562a46 Merge "Guard against NPE inside BaseIconFactory Bug: 137253043" into ub-launcher3-qt-r1-dev 2019-07-18 23:31:45 +00:00
Vadim Tryshev 0a973fee1b Merge "Improving TAPL code around fallback recents" into ub-launcher3-qt-r1-dev
am: 4c557438bc

Change-Id: I877f1efaacbb200487b4d1952b3de208fe690a5d
2019-07-18 16:02:19 -07:00
Tony Wickham 6e6ebe9db3 Merge "Allow TouchControllers to override shouldDisableGestures" into ub-launcher3-qt-r1-dev
am: 6670435c14

Change-Id: If4a2599b3011001d1ef09fb36e07778383b60fe1
2019-07-18 16:01:53 -07:00
Winson Chung 76de7b81bd Merge "Revert "Don't preload overview if current home isn't gestural overview"" 2019-07-18 23:00:12 +00:00
Winson Chung 341cab18d4 Revert "Don't preload overview if current home isn't gestural overview"
This reverts commit d334cf7263.

Reason for revert: This is blocking our merge -- will temporarily revert and get the merge in

Change-Id: I701521845e3f801501a467b811df580fd825e91f
2019-07-18 22:59:06 +00:00
Vadim Tryshev 4c557438bc Merge "Improving TAPL code around fallback recents" into ub-launcher3-qt-r1-dev 2019-07-18 22:31:30 +00:00
Tony Wickham 6670435c14 Merge "Allow TouchControllers to override shouldDisableGestures" into ub-launcher3-qt-r1-dev 2019-07-18 22:27:54 +00:00
vadimt c0a1b7046d Improving TAPL code around fallback recents
Change-Id: I9cd1caa2725f1d3967447130f4e34c4cf878514b
2019-07-18 15:12:24 -07:00
Tony Wickham f33b6d4378 Allow TouchControllers to override shouldDisableGestures
Currently only StatusBarTouchController overrides this to always return
false, so that you can swipe down for notifications during transition to
home screen from an app (in gesture nav).

Bug: 137161198
Change-Id: I803c37937d5294810cbe0c1bbffcd5dddcc5ca3b
2019-07-18 15:10:21 -07:00
Pinyao Ting bca0d254ec Merge "do not close widgets that are safe for rebind upon orientation change" into ub-launcher3-master 2019-07-18 19:56:18 +00:00
Winson Chung 5841e40a95 Merging ub-launcher3-qt-r1-dev, build 5736932
Test: Manual

Bug:111935715 P2 Incorrect parent type when logging drag and drop from All Apps
Bug:131315856 P1 [PO restore] No work profile launcher shortcuts restore ~50% of the time
Bug:132900132 P1 Apparently, tests start running while provisioning is still in progress
Bug:133009122 P2 Rare flake: dragged launchable to workspace, but the current state is not WORKSPACE; Can't find a launcher object; selector: BySelector [RES='\Qcom.google.android.apps.nexuslauncher:id/apps_view\E']
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:133891845 P2 TAPL: need clearer diags when a crash dialog is over Launcher or there is lock screeen
Bug:134532571 P1 Launcher flake: java.lang.AssertionError: http://go/tapl : want to switch from background to overview, but the current state is not BASE_OVERVIEW; Can't find a launcher object; selector: BySelector [RES='\Qcom.google.android.apps.nexuslauncher:id/overview_panel\E']
Bug:135165284 P2 [Q-Preview4] Gestural navigation animation glitch on RTL
Bug:135567630 P1 testBackground crashes in Landscape
Bug:135636137 P1 Workspace is clipped at the top when transitioning from app -> home
Bug:135687618 P4 Task shows between back and swiping up to overview
Bug:135952890 P1 Drag up on home indicator does not track finger if recently entered split screen
Bug:136033787 P0 Vzw DoU: sendexchangeemail wifi test fails with failed dismissal exception
Bug:136215685 P1 Flake: swiping up from Home to Overview in 2-button mode sometimes fails
Bug:137197916 P1 Add gesture support for 3p Launcher
Bug:137215697 P2 FloatingIcon and workspace icon visible at the same time when touch input during app to close animation
Bug:137290162 P1 Overview suggest chip showing on apps due to misconfigured flag
Bug:137316430 P1 Jank when swiping quickly back down to home when overview is peeking
Bug:64712476 P3 Import translations for dev branches
Change-Id: Ib228c0f291884050904fa069e25519755071c40a
2019-07-18 11:36:39 -07:00
Pinyao Ting a74b63aa07 do not close widgets that are safe for rebind upon orientation change
bug: 135608744
Change-Id: I58e9e44eb61f3b22df6ec656ac864f6da3fb479f
2019-07-17 23:26:06 -07:00
Jon Miranda e522e1a48b Skip TouchInteractionService preload if restore task is pending.
am: 11b5535556

Change-Id: Ib171b70a1f65f8e40909e9e587cc2b970df14c8b
2019-07-17 22:02:40 -07:00
Jon Miranda 11b5535556 Skip TouchInteractionService preload if restore task is pending.
Otherwise the preload may cause launcher to restore too early, resulting
in data loss.

Bug: 131315856
Change-Id: I4412c8f691286ba142e9c748a908a3ed42713a82
2019-07-17 21:24:07 -07: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
Jon Miranda 88629ad992 Fix bug where icon is no present during app close animation. am: bc27826478 am: aca4f39f0e
am: 49bc4241d9

Change-Id: Ifb7f31ff6948688b706a1196517a0e643ba339eb
2019-07-17 20:45:38 -07:00
Jon Miranda 0c418bc140 Fix bug where icon is no present during app close animation. am: bc27826478 am: ea8fb85c75
am: 6383a5b89f

Change-Id: I742bb473e73a373cd0b1463a9f9c98f5bd992d04
2019-07-17 20:45:16 -07:00
Jon Miranda 49bc4241d9 Fix bug where icon is no present during app close animation. am: bc27826478
am: aca4f39f0e

Change-Id: Icb96aa94b13b5b468d4b3ff9bf4fbc9b7e625e9d
2019-07-17 20:25:42 -07:00
Jon Miranda 6383a5b89f Fix bug where icon is no present during app close animation. am: bc27826478
am: ea8fb85c75

Change-Id: I9c221088cec598b735fb5174ebfe266e5c4ffb79
2019-07-17 20:24:44 -07:00
android-build-team Robot fb69bfe2ee Snap for 5736215 from 10a46078a7 to rvc-release
Change-Id: I60e320378e086770874dd88944b1cb26ed21df94
2019-07-18 03:12:54 +00:00
android-build-team Robot a0294df6bd Snap for 5736389 from e47e525026 to qt-qpr1-release
Change-Id: I259479ae79d75b5090c3a9c03c454050f2cd9281
2019-07-18 03:12:08 +00:00
Jon Miranda ea8fb85c75 Fix bug where icon is no present during app close animation.
am: bc27826478

Change-Id: I6db3c48ca4bda8c776885cf605835d7b3dbe9efb
2019-07-17 20:05:40 -07:00
Jon Miranda aca4f39f0e Fix bug where icon is no present during app close animation.
am: bc27826478

Change-Id: I2d3f7ebea67bdc7c08e06e5c6427d2a58ba5f14d
2019-07-17 20:04:38 -07:00
android-build-team Robot 0fbb778ba1 Snap for 5736565 from e47e525026 to qt-c2f2-release
Change-Id: I88cec71b45fb2e96a22414e6187b24bd13e53fbe
2019-07-18 03:04:34 +00:00
vadimt cfc025c10e Fixing starting scrolls outside of view
am: 04ca73b590

Change-Id: I5f67d83a0c10e503de70c0a2dc16dc3c7d0b4feb
2019-07-17 19:42:41 -07:00
vadimt 04ca73b590 Fixing starting scrolls outside of view
Change-Id: I0237603d25edc60522c41a3d20615391d5b4f3b6
2019-07-17 18:55:53 -07:00
TreeHugger Robot 37d8437c60 Merge "Moving some utilities methods to separate class" into ub-launcher3-master 2019-07-18 00:27:53 +00:00
Hyunyoung Song ae86d22dfb Guard against NPE inside BaseIconFactory
Bug: 137253043

This is a bandage fix.

Ideally, we should really figure out why TaskIconCache will be sending
null icon drawable to BaseIconFactory.

Change-Id: Ie005006baeddc9a3379283fe7139e590daad9a57
2019-07-18 00:06:04 +00:00
vadimt 2254bcae3f Merge "Using correct gesture margins in overview" into ub-launcher3-qt-r1-dev
am: aaf6c7ce56

Change-Id: I9e32e16101a837a61c9488f4b0d4484982778092
2019-07-17 16:27:12 -07:00
TreeHugger Robot aaf6c7ce56 Merge "Using correct gesture margins in overview" into ub-launcher3-qt-r1-dev 2019-07-17 23:02:50 +00:00