Commit Graph

33301 Commits

Author SHA1 Message Date
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
TreeHugger Robot e5cb05f405 Merge "Removing global state from DeepShortcutManager" into ub-launcher3-master 2019-07-17 22:28:35 +00:00
vadimt 2f7d1fa4a8 Using correct gesture margins in overview
Change-Id: I0108858279559e10633825f7de22211515f0e9b7
2019-07-17 15:18:21 -07:00
Jon Miranda bc27826478 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)
2019-07-17 22:16:40 +00:00
Sunny Goyal 31ab19f71d Removing global state from DeepShortcutManager
This makes DeepShortcutManager thread-safe and avoids any locks

Change-Id: If4593b3541da6259591ff7a607efa58158006481
2019-07-17 15:16:33 -07:00
Anna Wasewicz 10a46078a7 Merge "Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162 am: 31d0a9c562 am: e47e525026" into qt-r1-dev-plus-aosp
am: 3c5c17f0ca

Change-Id: I2dcf53831622a90d5293b45335b15adfa61d8b24
2019-07-17 15:16:24 -07:00
Anna Wasewicz 4afb350134 Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162 am: 31d0a9c562 am: 711ed0aa49
am: 82f6f470b6

Change-Id: I19cf689ae757393e5e7870effa60748dae48e372
2019-07-17 15:15:46 -07:00
Sunny Goyal 9dbb27c09c Moving some utilities methods to separate class
Change-Id: I5094b22ddc77c45590cea1a5f5dead0dc7580abf
2019-07-17 15:15:07 -07:00
Android Build Merger (Role) 3c5c17f0ca Merge "Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162 am: 31d0a9c562 am: e47e525026" into qt-r1-dev-plus-aosp 2019-07-17 22:05:59 +00:00
Anna Wasewicz 82f6f470b6 Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162 am: 31d0a9c562
am: 711ed0aa49

Change-Id: I7cc7c076159014ca70a6734217bc9254acdf9652
2019-07-17 15:05:44 -07:00
Anna Wasewicz 4b03eb994f Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162 am: 31d0a9c562
am: e47e525026

Change-Id: Iecda9104ac5cb2e6f88251c395463f790c12427b
2019-07-17 15:05:43 -07:00
Anna Wasewicz e47e525026 Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162
am: 31d0a9c562

Change-Id: I2bee4ff3706448fe3ca39afed3bbf84beee67c52
2019-07-17 14:57:06 -07:00
Sunny Goyal fab5a8ec23 Merge "Adding spring animation when swiping up to home in 3P Launcher" into ub-launcher3-qt-r1-dev
am: 6f818e03a7

Change-Id: I60aa1b60687ef18b1d1d632f81bf1e4eef9be016
2019-07-17 14:57:06 -07:00
Anna Wasewicz 711ed0aa49 Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162
am: 31d0a9c562

Change-Id: I96577840454d6453b60cc5ff9ce38883362482bb
2019-07-17 14:57:05 -07:00
TreeHugger Robot 6f818e03a7 Merge "Adding spring animation when swiping up to home in 3P Launcher" into ub-launcher3-qt-r1-dev 2019-07-17 21:41:18 +00:00
Winson Chung ec0d8dca51 Merge "Use non-android package name for context creation" into ub-launcher3-qt-r1-dev
am: 9cbd961ec9

Change-Id: I2be386ace44c2e7823aecac3316efdd874921722
2019-07-17 13:50:55 -07:00
Winson Chung 9cbd961ec9 Merge "Use non-android package name for context creation" into ub-launcher3-qt-r1-dev 2019-07-17 20:23:49 +00:00
Winson Chung 20d6a27608 Use non-android package name for context creation
- Speculative fix for mismatch between navigation mode reported to the
  tests vs. what mode the device is in based on the bug report. Original
  change to the package name was in ag/6866716

Bug: 136033787
Change-Id: I51f964daa8c42b671733cf3fab19d086e19a9063
2019-07-17 19:59:37 +00:00
Sunny Goyal e88d8acd85 Adding spring animation when swiping up to home in 3P Launcher
Bug: 137197916
Change-Id: Ic9808a30e8cd4e0b2a221c4b03bc29489038e092
2019-07-17 11:39:25 -07:00
Anna Wasewicz 31d0a9c562 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)
2019-07-17 04:48:40 +00:00
android-build-team Robot 4ce11c5e48 Snap for 5733626 from d334cf7263 to rvc-release
Change-Id: I9e3728929473ae16154f7aec24f56c6364052a8a
2019-07-17 03:10:40 +00:00
vadimt 76c1965efa Temporarily disabling checking TouchInteractionService
am: bf0042107c

Change-Id: I3be5655ea2f09c649f4fd0bc89069d90f61513d8
2019-07-16 19:41:32 -07:00
vadimt bf0042107c Temporarily disabling checking TouchInteractionService
Change-Id: I953f251373f7bfb471eb203ee4ceda4375f17703
2019-07-16 19:05:57 -07:00
Vinit Nayak 5b0eea8324 Merge "Reload task list when task is removed" into ub-launcher3-qt-r1-dev
am: 10d278f3d5

Change-Id: Ia4b9fe25c291d712ce12e2424bb71b694d529ec5
2019-07-16 18:08:18 -07:00
Vinit Nayak 10d278f3d5 Merge "Reload task list when task is removed" into ub-launcher3-qt-r1-dev 2019-07-17 00:49:52 +00:00
vadimt 83a4a53c3d Merge "Getting starting point of swipe from overview to all apps via protocol" into ub-launcher3-qt-r1-dev
am: 401583f9b6

Change-Id: I0ab7dfa7310bc72e5b05050abc52369d18871669
2019-07-16 17:48:44 -07:00
TreeHugger Robot 401583f9b6 Merge "Getting starting point of swipe from overview to all apps via protocol" into ub-launcher3-qt-r1-dev 2019-07-17 00:24:55 +00:00
vadimt 6a75e52f85 Getting starting point of swipe from overview to all apps via protocol
Change-Id: Idf04579b67011dac45b081a81367cde2d1274117
2019-07-16 16:46:53 -07:00
vadimt 475553ac64 Merge "Removing tracing for fixed bugs" into ub-launcher3-qt-r1-dev
am: f2de54b275

Change-Id: I46a1207125a1346ac6c2b41649b3bf04306e1b59
2019-07-16 16:35:18 -07:00
Vinit Nayak 2c7917d100 Reload task list when task is removed
Instead of individually removing tasks,
ask for all tasks to get accurate list.
This method is invoked whenever user presses
back on a root activity, which causes the task to
be killed from perspective of the activity.

Test: Visually inspected, recent task no longer
disappears.
Open any app, hit back, and then go to overview quickly.
App should remain in recents list.

Fixes: 135687618
Change-Id: I1c135673ae987016db5df0b83f5ea8e345d3c7c1
(cherry picked from commit 8651219f7e)
2019-07-16 23:24:36 +00:00