Commit Graph

47938 Commits

Author SHA1 Message Date
TreeHugger Robot 728bd6f4fe Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev am: 4e9a3d5bdf am: 3b4d624128
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16012847

Change-Id: I6251cd20346c098bbedc37d04ff2ca6b1b6e0ae1
2021-10-08 17:41:02 +00:00
TreeHugger Robot 3b4d624128 Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev am: 4e9a3d5bdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16012847

Change-Id: Ib26957e30803ea5a10ac182f4c182b480fe388ce
2021-10-08 17:29:32 +00:00
TreeHugger Robot 4e9a3d5bdf Merge changes I499c59bd,Ia7260c60,I90846e65 into sc-v2-dev
* changes:
  When taskbar would be stashed in 3 button mode, hide icons instead
  Add flags to stash taskbar for app pinning and empty hotseat
  Migrate mStashedInApp to FLAGS_STASHED_IN_APP
2021-10-08 17:14:45 +00:00
Thales Lima 919aed4e78 Merge "launcher: refactoring variables into arrays" into sc-v2-dev am: 292a993c4a am: ca8a29846d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992133

Change-Id: Ia22d7339c83468fb7799d7cb0bb7c168de0389bc
2021-10-08 16:44:01 +00:00
Thales Lima ca8a29846d Merge "launcher: refactoring variables into arrays" into sc-v2-dev am: 292a993c4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992133

Change-Id: Id958b647d40248428709567ce50321280283d72b
2021-10-08 16:27:01 +00:00
Thales Lima 292a993c4a Merge "launcher: refactoring variables into arrays" into sc-v2-dev 2021-10-08 16:15:18 +00:00
Alex Chau e95de31304 Add scroll logging to RecentsView behind DEBUG flag
Bug: 202514687
Test: manual
Change-Id: Iec022f2583baa794904242a44a2c8dca8ea4b1be
2021-10-08 16:26:08 +01:00
Thales Lima 83bedbfe97 launcher: refactoring variables into arrays
There are a lot of variables that can be merged together into arrays
following some optimizations done in other places.

Bug: 191879424
Test: checking cell size and extra space in dumpsys
Change-Id: I1d73fbb5da2df2345ced7f46df5bae5d75d9d6b1
2021-10-08 13:36:56 +01:00
Alex Chau 3220e9521f Avoid scrolling within edgeSensitivityWidth in overview tests
Fix: 202155383
Test: TaplTestsQuickstep.testOverviewActions with 1 task in overview
Change-Id: If137da179d93c9dcf413f431bf437083bfd0e737
2021-10-08 12:43:27 +01:00
Xin Li c4a585be21 [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours am: aab33ff88b -s ours am: 0ccf3f4fd8 -s ours am: dd241611e5 -s ours am: e3e389a502 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

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

Change-Id: I3b848895e6241d8f792398e44fefd2c17bec3c8a
2021-10-08 08:59:27 +00:00
Xin Li e3e389a502 [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours am: aab33ff88b -s ours am: 0ccf3f4fd8 -s ours am: dd241611e5 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

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

Change-Id: I0eed8f1cccb60a797b89674f878349d333867003
2021-10-08 08:29:16 +00:00
Xin Li dd241611e5 [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours am: aab33ff88b -s ours am: 0ccf3f4fd8 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

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

Change-Id: I1de8274053d21518d9cb9202b53bf945f5335a44
2021-10-08 07:56:18 +00:00
Tony Wickham 1bd4bf7ff1 When taskbar would be stashed in 3 button mode, hide icons instead
In 0 button mode, stashing morphs the icons into the home handle. In 3 button mode, that doesn't make sense, but we should still hide the icons (and just keep the 3 nav buttons). You still can't manually stash via long press in 3 button mode, but this will address other states where we automatically stash the taskbar when we want to hide the icons from users (e.g. when pinning an app).

Test: Pin an app from overview in 3 button mode, ensure the taskbar icons disappear until unpinning
Bug: 190192993
Change-Id: I499c59bd9d7871ff64696b67065cf9d4863222a5
2021-10-07 23:29:41 -07:00
Tony Wickham db0c2f1b79 Add flags to stash taskbar for app pinning and empty hotseat
Test: pin an app from overview, watch taskbar stash automatically until unpinning
Test: turn off suggestions for hotseat, remove all items and watch taskbar stash automatically when opening an app
Fixes: 190192993
Fixes: 193937948
Change-Id: Ia7260c60a820af1a48c9e4a400a52753baf34d41
2021-10-07 23:29:41 -07:00
Tony Wickham 772732de9e Migrate mStashedInApp to FLAGS_STASHED_IN_APP
This is to prepare for different flags that could cause taskbar to be stashed in an app without the user explicitly long pressing to stash.

Test: run wwdebug and wwlogcat, ensure still get logs for long press stash events; other interactions like clipping tasks to above unstashed taskbar still work as before
Bug: 190192993
Bug: 193937948
Change-Id: I90846e650a438e03bdcfdf9c4bf919e19cc5abb3
2021-10-07 23:29:34 -07:00
TreeHugger Robot 89d3205314 Merge "Enable QUICK_WALLPAPER_PICKER for droidfood." into sc-v2-dev am: 96ddd1cfd8 am: 1fb3837973
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010252

Change-Id: If556bf82e505efb912d15d72f825e657f93445bb
2021-10-08 03:16:10 +00:00
TreeHugger Robot 1fb3837973 Merge "Enable QUICK_WALLPAPER_PICKER for droidfood." into sc-v2-dev am: 96ddd1cfd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010252

Change-Id: Ibae192383010f40efd8554bab4241446838e4dd0
2021-10-08 03:04:08 +00:00
TreeHugger Robot 96ddd1cfd8 Merge "Enable QUICK_WALLPAPER_PICKER for droidfood." into sc-v2-dev 2021-10-08 02:50:59 +00:00
TreeHugger Robot 552ffc24d2 Merge "Add a new string for widget configuration drop target" into sc-qpr1-dev am: 52c93d17fa am: 8744e4d382 am: 138879ac3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992145

Change-Id: I47fe0096cb1d887873faeee737bcd6e74da00452
2021-10-08 02:14:05 +00:00
TreeHugger Robot 138879ac3e Merge "Add a new string for widget configuration drop target" into sc-qpr1-dev am: 52c93d17fa am: 8744e4d382
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992145

Change-Id: Ifa6007c2a6b4d30139c5ab367b0402d0877acdf9
2021-10-08 01:58:49 +00:00
TreeHugger Robot 878cd760fd Merge "Add a new string for widget configuration drop target" into sc-qpr1-dev am: 52c93d17fa am: 70adfb5eb8 am: 26ce2fc8c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992145

Change-Id: I8fd80650739c8e534e0d119e879701a0e99a5456
2021-10-08 01:47:22 +00:00
Xin Li 0ccf3f4fd8 [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours am: aab33ff88b -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

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

Change-Id: I4e15ec3e294633fbf852fdecf1cb974cf4f579f6
2021-10-08 01:39:03 +00:00
TreeHugger Robot 26ce2fc8c9 Merge "Add a new string for widget configuration drop target" into sc-qpr1-dev am: 52c93d17fa am: 70adfb5eb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992145

Change-Id: Ie04a719b6859e107fd42e50eb38abfa7340d7c0d
2021-10-08 01:38:29 +00:00
TreeHugger Robot 70adfb5eb8 Merge "Add a new string for widget configuration drop target" into sc-qpr1-dev am: 52c93d17fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992145

Change-Id: I2c4e9f4804240ade93ecbdae826f3d91a4411504
2021-10-08 01:31:28 +00:00
TreeHugger Robot 8744e4d382 Merge "Add a new string for widget configuration drop target" into sc-qpr1-dev am: 52c93d17fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992145

Change-Id: Idd0abbec06c8aa1f06a2d11500f67ceebdd801db
2021-10-08 01:29:29 +00:00
Xin Li aab33ff88b [automerger skipped] Merge "Merge Android 12" am: e84b3a6c3b -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 183bca2dcc is already in history

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

Change-Id: Ib3e5de38322b643b0974840b4c2d33565eba0988
2021-10-08 01:19:37 +00:00
TreeHugger Robot 52c93d17fa Merge "Add a new string for widget configuration drop target" into sc-qpr1-dev 2021-10-08 01:09:24 +00:00
Samuel Fufa 8bf5966603 Merge "[Work profile] Fix flickering work mode switch" into sc-v2-dev am: 3aae069e2b am: 0d9c103b2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15997528

Change-Id: Idc3eb4a9bac0e8f8140122d2c5cdcccde865a1bb
2021-10-07 23:53:05 +00:00
Xin Li e84b3a6c3b Merge "Merge Android 12" 2021-10-07 23:50:25 +00:00
sfufa@google.com 9f0981dc4f [Work profile][Test] Remove tracing logs for testWorkeduFlow
Bug: 159671700
Test: NA
Change-Id: I097134c45155f0e65ef4376fab803796f3fdb12a
2021-10-07 16:48:41 -07:00
sfufa@google.com bd977f3598 [Work Profile] Enable work profile tests
Bug: 159671700
Test: presbumit
Change-Id: Icfe39c30d603a4ae4cac576bc44037f545437ced
2021-10-07 16:48:20 -07:00
Samuel Fufa 0d9c103b2f Merge "[Work profile] Fix flickering work mode switch" into sc-v2-dev am: 3aae069e2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15997528

Change-Id: I0f5f794e716ab41505c3feb5536cb3be0b7e0095
2021-10-07 23:46:31 +00:00
Samuel Fufa 3aae069e2b Merge "[Work profile] Fix flickering work mode switch" into sc-v2-dev 2021-10-07 23:42:42 +00:00
Android Build Coastguard Worker e2ea976785 Snap for 7803374 from c220b9a202 to sc-v2-release
Change-Id: Ifbf10e02f881e53d2d8f25b43f826a2ace3aeab8
2021-10-07 23:12:41 +00:00
Brian Isganitis 5b2221637f Enable QUICK_WALLPAPER_PICKER for droidfood.
Test: Wallpapers show up in long-press menu by default.
Bug: 188222480
Change-Id: I51441b0f7f50f40adf4ff15c42a5be792723cc03
2021-10-07 18:37:26 -04:00
Vinit Nayak 2a77ff74bd Suspend auto-hiding taskbar when folder is open
* Notify SystemUi to suspend autoHide behavior
until launcher notifies otherwise
* There's no exclusive lock for AutoHideController
behavior, so down the road another component can
choose to resume auto-hide behavior even if launcher
has requested otherwise (and vice versa),
something to keep in mind.

Fixes: 193938507
Test: Opened folder while in immersive video,
taskbar stayed open.

Change-Id: I12f4055911822893551683466cfd532c8108a3a0
2021-10-07 13:46:26 -07:00
TreeHugger Robot d2010d57cb Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-10-07 20:37:27 +00:00
Alex Chau c6b6d85089 Merge "Use displayId to determine CHANGE_ACTIVE_SCREEN" into sc-v2-dev am: 5d2309285c am: eac5ca8736
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16005915

Change-Id: I9162ab87433685863179ba361805f5233d0fb41b
2021-10-07 19:44:50 +00:00
Andy Wickham b0ce06270d Merge "Removes Smartspace Feedback flag." into sc-v2-dev am: a01741bb61 am: 5e2367c39a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15995211

Change-Id: Ic139779d0a2302b1b2d0d8869fd76d37eb48546a
2021-10-07 19:44:24 +00:00
Brian Isganitis c417a952db Merge "Have PopContainerWithArrow require BaseDraggingActivity." into sc-v2-dev am: e3b26d0102 am: f5b5785a35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15984295

Change-Id: I7b251e9f122e1638ca516aaef58daf5068fcdee4
2021-10-07 19:44:06 +00:00
Alex Chau eac5ca8736 Merge "Use displayId to determine CHANGE_ACTIVE_SCREEN" into sc-v2-dev am: 5d2309285c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16005915

Change-Id: I8d760ec6d739d7374b3c4255a515760a4feec867
2021-10-07 19:39:09 +00:00
Alex Chau 5d2309285c Merge "Use displayId to determine CHANGE_ACTIVE_SCREEN" into sc-v2-dev 2021-10-07 19:35:43 +00:00
Andy Wickham 5e2367c39a Merge "Removes Smartspace Feedback flag." into sc-v2-dev am: a01741bb61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15995211

Change-Id: I2911bd8a27223d98c11e2cc46124100703f019c9
2021-10-07 19:29:02 +00:00
Brian Isganitis f5b5785a35 Merge "Have PopContainerWithArrow require BaseDraggingActivity." into sc-v2-dev am: e3b26d0102
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15984295

Change-Id: I27f0b79b124de27454a156dd0ad0937ea853d3f3
2021-10-07 19:28:54 +00:00
Andy Wickham a01741bb61 Merge "Removes Smartspace Feedback flag." into sc-v2-dev 2021-10-07 18:36:11 +00:00
Brian Isganitis e3b26d0102 Merge "Have PopContainerWithArrow require BaseDraggingActivity." into sc-v2-dev 2021-10-07 18:01:23 +00:00
TreeHugger Robot 71d09e0446 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 8b3ae2064b -s ours am: b8ac4acfac -s ours am: 5d72d96064 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic4463692962a94d92faa89b3d6b87322e3fe0c96
2021-10-07 15:19:00 +00:00
TreeHugger Robot cd5ebf3cbd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 8b3ae2064b -s ours am: c220b9a202 -s ours am: 04f90ce08e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I14d6c4fc556cc63797607a5f75d2d92516637dc1
2021-10-07 15:18:55 +00:00
Alex Chau 0423e3b412 Merge "Only adjust min/max scroll for split screen in landscape" into sc-v2-dev am: fe69980f90 am: 5354bce2e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992132

Change-Id: I3901bbb4414a9cec2006ad7bb48d971358be04b8
2021-10-07 15:18:40 +00:00
Vinit Nayak 52025a6a52 Merge "Show split options when overview actions hidden for grid" into sc-v2-dev am: 7c2b52e5cf am: 34035ace74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15971858

Change-Id: I24e03b74abb4f64d8f94a3d114c82d68447a59a6
2021-10-07 15:18:29 +00:00