Commit Graph

49925 Commits

Author SHA1 Message Date
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 55ef1eb76d Merge "Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY in RestoreDbTask" into sc-v2-dev am: f8d4041c84 am: 174d068a11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15804329

Change-Id: I67c9f4f4754cd2414ebd91e6fc6c1b9759984c4c
2021-09-10 21:23:17 +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
Dave Mankoff 5fe5844cb8 Merge changes from topics "b194781951-flags", "b194781951-flags-5", "b194781951-flags-6", "b194781951-flags-7" into sc-v2-dev am: f4f7b2234e am: 16869f51d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15550597

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

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

Change-Id: Id25547a588d11c0389de444a07afb986cc453755
2021-09-10 20:49:54 +00:00
Dave Mankoff 799cfb328b Rename PluginInstanceManager to PluginActionManager. am: 08d1a77825 am: 4082801b5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558876

Change-Id: I2d13d08a16d7383a518be1cee61a67a30ca12ce2
2021-09-10 20:49:52 +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 d55e248d78 Merge "Explicitly set X and Y values when offsetting split tasks" into sc-v2-dev am: 8b30227f58 am: c36d4c412a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15799376

Change-Id: I02b5f9db5a33391b2d86d93afdafde64a8b8e7d9
2021-09-10 18:41:25 +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
vadimt 4e743887c5 Removing unused tracing
Bug: 181019015
Test: presubmit
Change-Id: I7df032e4345c512ba8eb06a2c4104362e1d51dbd
2021-09-10 10:29:07 -07:00
Samuel Fufa 8a3a72f61c [automerger skipped] [AllApps] Polish views according to specs am: eb500d53d9 -s ours am: fbd591b211 -s ours am: 2eb68d9cd8 -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: I934971659e0dfe935d89498a26a72d2af08dd4aa
2021-09-10 16:34:48 +00:00
Samuel Fufa cd7ac199fb [automerger skipped] [AllApps] Polish views according to specs am: eb500d53d9 am: 5997c4a0e3 -s ours am: 07d2afcb06 -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: Icd8ab03d9b8fa71c6e7184653cb3dbc940efedfc
2021-09-10 16:34:40 +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
TreeHugger Robot 0555a36c41 Merge "Fix wrong screenId when committing emptyScreens" into sc-v2-dev am: b94401646d am: 1c0e188171
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795676

Change-Id: I8accc7c6fe020b2e8ba299cd1f4a57160b8a96d5
2021-09-10 16:12:43 +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 e6175a210c Merge "Fix two dragging related bugs in Launcher home" into sc-v2-dev am: 81a3e6e7e7 am: 520fb5dc08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795684

Change-Id: I62623134ea2cc38d64f51b737db236ab09470373
2021-09-10 14:01:05 +00: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
TreeHugger Robot 81a3e6e7e7 Merge "Fix two dragging related bugs in Launcher home" into sc-v2-dev 2021-09-10 13:39:26 +00:00
Alex Chau 1d5929dd82 Fix wrong screenId when committing emptyScreens
- Need to increment newScreenId whenever the screen is already bound
- Also cleaned up placeholder on w1 as we now have page pairing logic

Bug: 199160559
Bug: 175939730
Fix: 199131780
Test: drag and drop after clear data
Change-Id: Ic42f3bddfa6cf11b8b726d6181ed2477defde19d
2021-09-10 14:36:36 +01:00
Nick Chameyev c8ab440eb7 Merge "[Taskbar icons unfold animation issue] Do not take into account initial translation" into sc-v2-dev am: 5d50e49c3f am: 583dd5b9ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786830

Change-Id: I9c3e499a58cb094f068fe5c76db8fdc2ae4ba122
2021-09-10 12:54:46 +00:00
Nick Chameyev 583dd5b9ac Merge "[Taskbar icons unfold animation issue] Do not take into account initial translation" into sc-v2-dev am: 5d50e49c3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786830

Change-Id: I0ba7f727b5dd830fbd4ea1dae0ccf1f9e4db4709
2021-09-10 12:41:32 +00:00
Nick Chameyev 5d50e49c3f Merge "[Taskbar icons unfold animation issue] Do not take into account initial translation" into sc-v2-dev 2021-09-10 12:25:17 +00:00
Andras Kloczl 9732df1add Fix two dragging related bugs in Launcher home
- accessibility bug: 199394124
- dragging on side bug: http://shortn/_LFBdIllupk

Test: manual
Bug: 199394124
Change-Id: I478e31332119f337bf0f8b6c92926845eb4889c4
2021-09-10 12:16:03 +01:00
Thales Lima eff745a76a Merge "launcher: correct page spacing for multiple panels in RTL" into sc-v2-dev am: 02a5019cf3 am: 5c4e8c1a68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795673

Change-Id: I81eb928451631c8be4782cb613bba57d1f362c76
2021-09-10 10:31:03 +00:00
Thales Lima 5c4e8c1a68 Merge "launcher: correct page spacing for multiple panels in RTL" into sc-v2-dev am: 02a5019cf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795673

Change-Id: I25702dc4090f29768a25321d356f86981b2ff516
2021-09-10 10:11:08 +00:00
Thales Lima 02a5019cf3 Merge "launcher: correct page spacing for multiple panels in RTL" into sc-v2-dev 2021-09-10 09:53:40 +00:00
Samuel Fufa eb500d53d9 [AllApps] Polish views according to specs
Bug: 196391749 Update work edu button stroke color
Bug: 195497351 Update header font size for work apps paused state
Bug: 192673256 Show ArrowTip elevation
Bug: 192668800 Support for two line PopupOption view
Test: visual
Change-Id: I65f8c6152f54306756d6cb66de2581aff45b8d47
Merged-In: I65f8c6152f54306756d6cb66de2581aff45b8d47
2021-09-09 16:45:05 -07:00
Vinit Nayak 6835115c13 Explicitly set X and Y values when offsetting split tasks
* Race condition where DeviceProfile that gets set on
TaskViewSimulator initially has incorrect values
(dp.isLandscape is incorrect)
* The correct one eventually gets set, but in the meantime
we set the split offset assuming in incorrect value in
PagedOrientationHandler#setLeashSplitOffset()
* Once corrected, we weren't removing the old offset
that was set. Now we ensure only either an X or Y offset set.

Bug: 199376724
Test: Enter split, rotate device and quickswitch.
Both tasks should be visible throughout the gesture

Change-Id: I9fa44642ab440a0200c0b0eb9b37574e47b7100d
2021-09-09 16:27:59 -07:00
Bill Yi 7c31ce6bf4 [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours am: 62d10a162a -s ours am: 2d5933ed56 -s ours am: 0892fd8b05 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4f1e62ba4662899c601c8cb311e502447302d4c2
2021-09-09 23:18:43 +00:00
Android Build Coastguard Worker 8c7bb9aa01 Snap for 7717622 from 9874b5d68b to sc-v2-release
Change-Id: I1550374982cc31cb4766123d17b14de2c5ad5954
2021-09-09 23:12:55 +00:00
Bill Yi 0892fd8b05 [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours am: 62d10a162a -s ours am: 2d5933ed56 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7809b520139a9279e357eff8dad9fac657e975fc
2021-09-09 22:48:38 +00:00
Colin Cross e762dbb141 [automerger skipped] Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp am: af52aea9a3 am: 9b17656ba1 am: ad2188fe9f -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 bc4dc49c6c is already in history

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

Change-Id: I9e90320e9c4ee30d5940520ccb3d94c8a345bffb
2021-09-09 22:40:09 +00:00
Alan Viverette 10bd30c2ce [automerger skipped] Disable eager initialization of Jetpack libraries am: 58dd935348 am: 9713c150f2 am: db37d96b83 -s ours
am skip reason: Merged-In I8f921ae26e873822ac2340ad78449cf1040af4cf with SHA-1 a88802ee92 is already in history

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

Change-Id: Ieaba4ada730fa11f4586a446eba7dd343293ae7f
2021-09-09 22:40:01 +00:00
Bill Yi 2d5933ed56 [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours am: 62d10a162a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I26f894873c13c18daaf75127eb7cdfe985540a77
2021-09-09 22:29:34 +00:00
Becky Qiu 9cbbc3a4b6 [OneSearch] Update the plugin interface to include more answer data.
Bug: 196586652
Test: tested with OneSearchPlugin.
Change-Id: I5c645828b83f1fe5b3bd2f71911b30e22909d56f
2021-09-09 15:19:24 -07:00