Commit Graph

34630 Commits

Author SHA1 Message Date
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
Vinit Nayak 79b7e16666 Merge "Reload task list when task is removed" into ub-launcher3-master 2019-07-16 23:22:23 +00:00
TreeHugger Robot f2de54b275 Merge "Removing tracing for fixed bugs" into ub-launcher3-qt-r1-dev 2019-07-16 23:15:07 +00:00
Jon Miranda 4c54129d24 Fix app open/close animation in RTL.
am: 42bd7dad6c

Change-Id: I504c4ecb877d21e77e22f29936e6fbfdc1a42283
2019-07-16 14:27:49 -07:00
Jon Miranda 42bd7dad6c Fix app open/close animation in RTL.
Bug: 135165284
Change-Id: Ib50f213904cb7ac7c769fac04dbfc70005fe25b8
2019-07-16 13:58:29 -07:00
Vinit Nayak 8651219f7e 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.

Fixes: 135687618
Change-Id: I1c135673ae987016db5df0b83f5ea8e345d3c7c1
2019-07-16 13:09:19 -07:00
Vadim Tryshev 273c079761 Merge "Adding message popups to anomaly diagnoser" into ub-launcher3-qt-r1-dev
am: d3bff6043a

Change-Id: If99eef3fd22cb2fb2e09e97584a748bf50eef4d1
2019-07-16 11:51:02 -07:00
Vadim Tryshev d3bff6043a Merge "Adding message popups to anomaly diagnoser" into ub-launcher3-qt-r1-dev 2019-07-16 18:34:23 +00:00
Sunny Goyal 6d63bbd4de Adding support for swipe operation when on home screen
am: 365f29e577

Change-Id: If4844724be3de143c0c37493c94c4ef5fa257af7
2019-07-16 11:32:57 -07:00
vadimt 726cccf54a Adding message popups to anomaly diagnoser
Change-Id: I6bf125ad5c311062c8f2f6953c0a4d6155203672
2019-07-16 11:19:01 -07:00
Sunny Goyal a688dd4686 Fixing multiwindow transition when using 3P launcher
am: 587c3cef51

Change-Id: Ia5e69e74322d03563f10f84376438d90468c245d
2019-07-16 11:04:51 -07:00
Tony 22e5235556 Merge "Fix overshoot velocity in 2-button landscape mode" into ub-launcher3-qt-r1-dev
am: 160134e0b1

Change-Id: I921f30bbb37736d9519413b2803f5e0a6480748c
2019-07-16 10:55:51 -07:00
Sunny Goyal 365f29e577 Adding support for swipe operation when on home screen
Bug: 137197916
Change-Id: Ic85bf9767d4a9a77dafc1c60c02555f3d2a5d8a2
2019-07-16 10:51:13 -07:00
Sunny Goyal 45515a36eb Adding horizontal swipe support for 3p launcher
am: 2e4b665933

Change-Id: Iea9b5eff1fbc5333457ed9f6ca6e0a4fca11cd2e
2019-07-16 10:46:50 -07:00
Sunny Goyal 587c3cef51 Fixing multiwindow transition when using 3P launcher
Bug: 137197916
Change-Id: I3c5cfc290972187d9d556a722afc61489d0d0629
2019-07-16 17:43:21 +00:00
TreeHugger Robot 160134e0b1 Merge "Fix overshoot velocity in 2-button landscape mode" into ub-launcher3-qt-r1-dev 2019-07-16 17:38:05 +00:00
Sunny Goyal 2e4b665933 Adding horizontal swipe support for 3p launcher
Bug: 137197916
Change-Id: I0fb5db791b3471d651db43f0e8c30b8d5baf9f27
2019-07-16 09:59:55 -07:00
Riddle Hsu c970127e21 Merge "Don't preload overview if current home isn't gestural overview" into ub-launcher3-qt-r1-dev
am: d4b839145c

Change-Id: I5bd1ae192138730c61a6968da19caa503c92a321
2019-07-16 01:42:07 -07:00
Riddle Hsu d334cf7263 Don't preload overview if current home isn't gestural overview
During first boot, home activity after FallbackHome may be an
one-time setup. If the overview is preloaded at this moment,
system won't resume the real home after the one-time setup is
finished because the activity stack is not empty.

Since the navigation mode doesn't support gesture during the
first time setup, and in order to keep the ability to preload
launcher if it is also the overview, these conditions are
combined to guard the case of first boot.

Fix: 137281732
Test: Build sdk_gphone_x86-userdebug.
      Run "emulator -wipe-data" and check the
      recents activity won't start during booting.

Change-Id: I4b20f61f4a412371c19b379410c8a0a188e41276
(cherry picked from commit 69ac334935)
2019-07-16 06:13:33 +00:00
TreeHugger Robot d4b839145c Merge "Don't preload overview if current home isn't gestural overview" into ub-launcher3-qt-r1-dev 2019-07-16 04:42:00 +00:00
vadimt 7a4ed2f258 Removing tracing for fixed bugs
Bug: 133009122
Bug: 133765434
Bug: 134532571
Change-Id: I37aa1851a1bc0874c0b9acf561bde28966e9b523
2019-07-15 18:48:06 -07:00
Bill Yi b3bc0bd5f1 [automerger skipped] Import translations. DO NOT MERGE am: 7dcd094330 -s ours
am: 3ba4f476ff -s ours
am skip reason: subject contains skip directive

Change-Id: Ic3f5e71ff435b1dc03e02f7448789e0d4f9538e4
2019-07-15 16:49:12 -07:00