Commit Graph

36839 Commits

Author SHA1 Message Date
Sunny Goyal 0ea3bdc05e Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92 am: 83d4b37ff2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: Ia1d7e5c6486b83c9cceed284a8b43cef6a7a8e68
2021-09-13 23:45:32 +00:00
Sunny Goyal 9e7ba604b7 Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: 90c6b6a19f am: ce5d91df28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: I7aa6aa7c376fcaaf64ad17e346102f88c1283c83
2021-09-13 23:45:25 +00:00
Sunny Goyal 83d4b37ff2 Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: I1fb64c259235817fd3eec124c61f2dbe9f28d2b7
2021-09-13 23:42:01 +00:00
Sunny Goyal ce5d91df28 Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: 90c6b6a19f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: Ia8b7c3c8af44f082d9906fc2e2644e4846d87c4f
2021-09-13 23:33:00 +00:00
Sunny Goyal d73fa1ef92 Fixing ModelPreload cancelling existing load am: 57d4f748b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: Iefe6ef941158a9c5b6eada7c71e8633b96ac4233
2021-09-13 23:24:13 +00:00
Sunny Goyal 90c6b6a19f Fixing ModelPreload cancelling existing load am: 57d4f748b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: Ibef6096d876ec9e44be982bc53865ca1a97579b2
2021-09-13 23:23:01 +00:00
TreeHugger Robot ca03534626 Merge "Add tmp buffer to rounded corners" into sc-v2-dev am: fb4461e2e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15763586

Change-Id: If0c9860d189b6cc103c6e43d81788a5d22014cd4
2021-09-13 22:24:00 +00:00
TreeHugger Robot fb4461e2e7 Merge "Add tmp buffer to rounded corners" into sc-v2-dev 2021-09-13 22:13:20 +00:00
Colin Cross 512ee86ff3 [automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours am: a171d51133 -s ours am: c77571ba56 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799381

Change-Id: I7238f9e02864863c8c00180f5d3678320d2d6b79
2021-09-13 21:38:17 +00:00
Colin Cross c77571ba56 [automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours am: a171d51133 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799381

Change-Id: Ic1991a3163ec9945c0401b94bb65263ebf90947b
2021-09-13 21:22:11 +00:00
Colin Cross a171d51133 [automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799381

Change-Id: I2e1f58c6291e8d8ae6c48b6adb7e2d3fc3b99277
2021-09-13 21:14:31 +00:00
Colin Cross 2ed25e3555 Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master
* changes:
  Temporarily disable Launcher3 tests affected by fling changes
  Disable eager initialization of Jetpack libraries
2021-09-13 21:10:01 +00:00
Winson Chung 58030642b0 Add tmp buffer to rounded corners
- Testing if this actually moves the gesture out of the screen decor area

Bug: 197326121
Test: Pre/postsubmit
Change-Id: I3c46ed3860ba6ba1fb605242b4f7242aaabc5672
2021-09-13 20:01:56 +00:00
TreeHugger Robot 76ffbda934 Merge "Fix taskbar education not touchable if taskbar is stashed" into sc-v2-dev am: 14df808f4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15794823

Change-Id: I0358afa81befc759f66126359c637c908ddbceb1
2021-09-13 18:18:33 +00:00
TreeHugger Robot 14df808f4d Merge "Fix taskbar education not touchable if taskbar is stashed" into sc-v2-dev 2021-09-13 18:05:28 +00:00
Sunny Goyal 57d4f748b8 Fixing ModelPreload cancelling existing load
When a model preload call was made while the loader task is running
(eg: on enabling/disabling icon theme, Launcher reloads and then
launcher preview start a model-preload), it would cancel the original
loader and then start a new loader with empty callbacks. So the
model indeed get loaded, but the original callbacks never got notified
of it.

> Instead we only start preload if an existing task is not running.
> Also when preloading, we use existing callbacks, instead of using
  empty callbacks

Bug: 193851085
Bug: 195155924
Test: Verified repro steps
Change-Id: I0a96310be8489756f364aa2a12e4345e1418733d
2021-09-13 17:47:29 +00:00
TreeHugger Robot 35dc8f7c7f Merge "Base split action on focusedTaskView instead of runningTaskView" into sc-v2-dev am: 33df165ca0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806448

Change-Id: I44968cdfaa60ac587704a956b8144e02552f5de8
2021-09-13 17:38:32 +00:00
Tony Wickham a993f6aa21 Merge "Destroy taskbar when device is shutting down" into sc-v2-dev am: 9c7eda8135
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806451

Change-Id: I129507edd70ebf29803630e5efb99aec683fc646
2021-09-13 17:38:27 +00:00
TreeHugger Robot 33df165ca0 Merge "Base split action on focusedTaskView instead of runningTaskView" into sc-v2-dev 2021-09-13 17:38:17 +00:00
Tony Wickham 9c7eda8135 Merge "Destroy taskbar when device is shutting down" into sc-v2-dev 2021-09-13 17:27:43 +00:00
TreeHugger Robot 1ac47db777 Merge "Introduce haptic when all apps state transition happens." into sc-v2-dev am: adfcd9daea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15758441

Change-Id: I3492cba5bbab24c08a68f6cce1ada3e0ead77e5d
2021-09-12 23:08:35 +00:00
TreeHugger Robot adfcd9daea Merge "Introduce haptic when all apps state transition happens." into sc-v2-dev 2021-09-12 22:53:47 +00:00
Hyunyoung Song 862415a142 Introduce haptic when all apps state transition happens.
Bug: 195679234
Test: manual
Change-Id: Id923f1641bb49579c972e3dbb9de094293d00f93
Merged-In: Id923f1641bb49579c972e3dbb9de094293d00f93
2021-09-12 21:48:52 +00:00
TreeHugger Robot 62a16a1c18 Merge "[OneSearch] Update the plugin interface to include more answer data." into sc-v2-dev am: 305d0463b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15741845

Change-Id: I9cf21271ef90c88c8991f3376149f49c75de0a16
2021-09-11 03:20:43 +00:00
TreeHugger Robot 305d0463b1 Merge "[OneSearch] Update the plugin interface to include more answer data." into sc-v2-dev 2021-09-11 03:08:51 +00:00
TreeHugger Robot 5522a4aa46 Merge "Dump DepthController internals" into sc-v2-dev am: 6087951a9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15806948

Change-Id: I37653383befee4fee1be691be79a65015598f603
2021-09-11 01:13:01 +00:00
TreeHugger Robot 6087951a9f Merge "Dump DepthController internals" into sc-v2-dev 2021-09-11 00:51:22 +00:00
Tony Wickham 4db4ec118b Destroy taskbar when device is shutting down
Test: Shutdown/restart device, ensure taskbar isn't showing
Fixes: 194633599
Change-Id: I8061e515e122c446438975b98527aeda6c59996a
2021-09-10 16:18:20 -07:00
Thiru Ramasamy 70cca3c180 Merge "Implement LauncherLayoutSnapshot pulled atom callback." into sc-v2-dev am: 8c8dc56495
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15685719

Change-Id: I031cd264a3631248e0c8e0a1a2d524e1720ba0e1
2021-09-10 23:15:43 +00:00
Thiru Ramasamy 8c8dc56495 Merge "Implement LauncherLayoutSnapshot pulled atom callback." into sc-v2-dev 2021-09-10 22:59:00 +00:00
Lucas Dupin 01c362bb6c Dump DepthController internals
Add DepthController to dumpsys, so it's easier to debug any future
issues.

Bug: 198732728
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Change-Id: Ifa7fe1d7fcb375cacc907d0da9524a2ee2a2677d
2021-09-10 22:57:24 +00:00
TreeHugger Robot 174d068a11 Merge "Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY in RestoreDbTask" into sc-v2-dev am: f8d4041c84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15804329

Change-Id: I6f96097395fbefa82ad95bdb25b61812bf223941
2021-09-10 21:10:03 +00:00
Vinit Nayak 5702b89b30 Base split action on focusedTaskView instead of runningTaskView
* getRunningTaskView() is null when rotating device,
only valid when swiping up to overview
* focusedTaskView() correctly set in both cases

Fixes: 199461147
Test: Bug doesn't repro
Change-Id: Ib39c1f6f05b3cd5f72c13facc6b8000346896476
2021-09-10 14:07:58 -07:00
TreeHugger Robot f8d4041c84 Merge "Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY in RestoreDbTask" into sc-v2-dev 2021-09-10 20:55:18 +00:00
Thiru Ramasamy d495e8c8b4 Implement LauncherLayoutSnapshot pulled atom callback.
This change will pull only the workspace items but not the launcher settings such as grid layout etc. Future CLs will address it.

Bug: 181703659
Test: Manual-`statsd_testdrive 10108` http://gpaste/4894958784872448
Change-Id: I0e7d7da62034c411edb26ff9205a81b0e2e891a0
2021-09-10 13:29:27 -07:00
Dave Mankoff 16869f51d5 Merge changes from topics "b194781951-flags", "b194781951-flags-5", "b194781951-flags-6", "b194781951-flags-7" into sc-v2-dev am: f4f7b2234e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550597

Change-Id: I93f2124203f7a38d3f93d15633a88a0da4dbb8bf
2021-09-10 19:40:54 +00:00
Dave Mankoff d8e827a4ea Remove #handleWtfs from PluginInitializer. am: 3258a9f790
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550596

Change-Id: I2ed885b7c71dd01e8433a495999adbd7737d283a
2021-09-10 19:40:53 +00:00
Dave Mankoff 2bf4d5b4a4 Remove #getPrivilegedPlugins from PluginInitializer. am: a6646be349
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550595

Change-Id: I19fe0b7a1f31e119658166f709474fc6a8f00e2c
2021-09-10 19:40:52 +00:00
Dave Mankoff 4082801b5b Rename PluginInstanceManager to PluginActionManager. am: 08d1a77825
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558876

Change-Id: Iede22a1e612af346aeac0280a3f9960da9546340
2021-09-10 19:40:51 +00:00
Dave Mankoff f4f7b2234e Merge changes from topics "b194781951-flags", "b194781951-flags-5", "b194781951-flags-6", "b194781951-flags-7" into sc-v2-dev
* changes:
  Remove PluginInitializer.
  Remove #handleWtfs from PluginInitializer.
  Remove #getPrivilegedPlugins from PluginInitializer.
  Rename PluginInstanceManager to PluginActionManager.
2021-09-10 19:25:40 +00:00
TreeHugger Robot c36d4c412a Merge "Explicitly set X and Y values when offsetting split tasks" into sc-v2-dev am: 8b30227f58
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799376

Change-Id: I99ce877402cf1d2a6ba9863a561a242eaed780b2
2021-09-10 18:20:38 +00:00
TreeHugger Robot 8b30227f58 Merge "Explicitly set X and Y values when offsetting split tasks" into sc-v2-dev 2021-09-10 18:05:18 +00:00
Samuel Fufa 2eb68d9cd8 [automerger skipped] [AllApps] Polish views according to specs am: eb500d53d9 -s ours am: fbd591b211 -s ours
am skip reason: Merged-In I65f8c6152f54306756d6cb66de2581aff45b8d47 with SHA-1 bd8d9150e0 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748888

Change-Id: I8b75583c5c3cdd0022ed26c9b7a40c6fa091400e
2021-09-10 16:18:30 +00:00
Samuel Fufa 07d2afcb06 [automerger skipped] [AllApps] Polish views according to specs am: eb500d53d9 am: 5997c4a0e3 -s ours
am skip reason: Merged-In I65f8c6152f54306756d6cb66de2581aff45b8d47 with SHA-1 bd8d9150e0 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748888

Change-Id: I449d66a6b869a6b4217f4190fb2c025c7fe856e9
2021-09-10 16:18:06 +00:00
Samuel Fufa 5997c4a0e3 [AllApps] Polish views according to specs am: eb500d53d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748888

Change-Id: Ie5084aad97ca3f5ce9db33b7534dc046860c3b29
2021-09-10 16:04:18 +00:00
Samuel Fufa fbd591b211 [automerger skipped] [AllApps] Polish views according to specs am: eb500d53d9 -s ours
am skip reason: Merged-In I65f8c6152f54306756d6cb66de2581aff45b8d47 with SHA-1 bd8d9150e0 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748888

Change-Id: Iea0ca6a5eaa553e84e7fe2cd2a8c2902d7768f9a
2021-09-10 16:04:12 +00:00
TreeHugger Robot 1c0e188171 Merge "Fix wrong screenId when committing emptyScreens" into sc-v2-dev am: b94401646d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795676

Change-Id: I922d7c34a4e031f72b5ed8b1a4a31d16a7c8f065
2021-09-10 15:58:35 +00:00
TreeHugger Robot b94401646d Merge "Fix wrong screenId when committing emptyScreens" into sc-v2-dev 2021-09-10 15:36:22 +00:00
Alex Chau d63c58d7d1 Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY in RestoreDbTask
- Follow-up of ag/15795679: allow restore in RestoreDbTask as well

Bug: 199407109
Test: manual
Change-Id: I2a8e2d9c28ee777f53a6d3554e31f7318422401f
2021-09-10 15:16:36 +01:00
TreeHugger Robot 520fb5dc08 Merge "Fix two dragging related bugs in Launcher home" into sc-v2-dev am: 81a3e6e7e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795684

Change-Id: I9f2b816e80302396caa79c0516729abae3c5bdd6
2021-09-10 13:51:46 +00:00