Commit Graph

60043 Commits

Author SHA1 Message Date
Bill Yi c745faf8da [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 673da4dc3f -s ours am: 4206573569 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I47f663fc89eb48b66b5df0c068e88a23d08dbaee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 19:12:59 +00:00
Bill Yi 4206573569 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 673da4dc3f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie9bd5318d89e3ecbaf76a8084f772d1309a3d4f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 18:33:29 +00:00
Fengjiang Li d4c5fe8543 Merge "Add COLD_DEVICE_REBOOTING LatencyType" into udc-dev 2023-04-13 18:18:27 +00:00
Fengjiang Li 435f1e2e08 Add COLD_DEVICE_REBOOTING LatencyType
Since launcher COLD startup latency is drastically different when device is rebooting vs not, we will add COLD_DEVICE_REBOOTING LatencyType

See "Add Startup Latency Type" section in go/launcher-startup-latency

Bug: b/277962421
Test: app build
Change-Id: I4d0a22c105417b5bcdbae9ed9fc72aa927f9adc9
2023-04-13 09:19:04 -07:00
Fengjiang Li 5d4207814e Merge "Gracefully handle exception when processing widget loads event while device is locked." into udc-dev 2023-04-13 16:01:37 +00:00
Randy Pfohl fedbe74635 Merge "Update full screen animation for handhelds to accurately represent screensize/shape" into udc-dev 2023-04-13 15:26:00 +00:00
Brian Isganitis 804107b058 Merge "Define type set for taskbar overlays." into udc-dev 2023-04-13 14:21:37 +00:00
Tracy Zhou 5a6e6205c4 Merge "Support 3-finger swipe down on the home screen to pull down notifications" into udc-dev 2023-04-13 05:19:42 +00:00
Winson Chung 667f75b48a Merge "Cancel recents animation to app when new task is launched while gesturing" into udc-dev 2023-04-12 23:39:28 +00:00
randypfohl a5aa8545c8 Update full screen animation for handhelds to accurately represent screensize/shape
test: verified by making sure animation ends at correctly translation, height and width, and correct corner radius for screen size.

flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL

bug: 277123609

Change-Id: Icb38de441e12fa0b9ca49e46d71598edbcdfa108
2023-04-12 16:01:42 -07:00
Jon Miranda 94f3b6329d Merge "Add jonmiranda to OWNERS" into udc-dev 2023-04-12 22:18:07 +00:00
Fengjiang Li e82b3fa8df Gracefully handle exception when processing widget loads event while device is locked.
Bug: 277189566
Test: test starting launcher and editing widgets
Change-Id: Id15da3f3471374b02f1e2bf2e0a45dc801957241
2023-04-12 14:46:47 -07:00
Federico Baron 65795b090e Merge "Add entry point for home gardening" into udc-dev 2023-04-12 21:24:48 +00:00
Treehugger Robot 45a10468b2 Merge "Merge TQ2A.230405.003" am: bb016a19a4 am: ec09ccdc88 am: 351edbab22
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2530211

Change-Id: I04cbe949529835ff878c2755de2c64ea4b5cd8ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 20:57:07 +00:00
Treehugger Robot 351edbab22 Merge "Merge TQ2A.230405.003" am: bb016a19a4 am: ec09ccdc88
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2530211

Change-Id: Ib82381f70e69cc690728b3722654e9d2cb0c765c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 20:22:55 +00:00
Sunny Goyal bfb24c7706 Merge "Moving all DB management logic from LauncherProvider into a separate class" into udc-dev 2023-04-12 20:19:54 +00:00
Jon Miranda c71a7553a2 Add jonmiranda to OWNERS
Fixes: 277947143
Change-Id: I03b1b4b0c8a8bd5b1a2cf780f88902cb0abd17e0
Flag: none
Test: none
2023-04-12 12:48:55 -07:00
Winson Chung b24efa4494 Cancel recents animation to app when new task is launched while gesturing
- A bit of a degenerate case, but if a new task is received while
  the user is swiping up (but not yet released), none of the usual
  signals will finish the recents animation (it's not considered
  being in overview so we don't launch it, it's not a quickswitch
  since we haven't launched any new tasks ourselves).  As a result,
  nothing happens (we don't finish the animation, and the new task
  is never shown to the user as a result).

Bug: 271188120
Test: Start a gesture, in parallel run:
      adb shell am start -n com.android.settings/.Settings

Change-Id: I5215ee87f761c837db9f764bd5d8135e55fa0a21
2023-04-12 19:06:13 +00:00
Treehugger Robot ec09ccdc88 Merge "Merge TQ2A.230405.003" am: bb016a19a4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2530211

Change-Id: I250f0ce2bbd3b9d663b1421ba7336e56215130c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 19:00:56 +00:00
Saumya Prakash 95b6f8c409 Merge "Add gesture navigation education animations for foldables" into udc-dev 2023-04-12 18:22:28 +00:00
Brian Isganitis e41faf5f48 Define type set for taskbar overlays.
Test: Manual
Bug: 216683257
Change-Id: Iabb997ec4eba0fa105b8518c8c31285ae9c35450
2023-04-12 14:16:25 -04:00
Treehugger Robot bb016a19a4 Merge "Merge TQ2A.230405.003" 2023-04-12 17:22:25 +00:00
fbaron 6847c9f113 Add entry point for home gardening
Bug: 277817921
Test: Turn on flag MULTI_SELECT_EDIT_MODE and verify that a new button shows up that says "Edit Home Screen"
Change-Id: Ic8027ab80604faf5bdc63a44319ecffc047a495c
2023-04-12 09:31:28 -07:00
Tracy Zhou 8353a381c6 Support 3-finger swipe down on the home screen to pull down notifications
Fixes: 276605497
Test: 3-finger swipe down to pull down notifications. 3-finger swipe up to pull up overview
Change-Id: I4c1e0df15a94905fa197849f5667a5446c259ffe
2023-04-11 20:20:41 -07:00
Andy Wickham ea3a3619bf Merge "Fix single frame flicker for views reacting to keyboard insets." into udc-dev 2023-04-12 00:08:06 +00:00
Federico Baron d9a38b8d0e Merge "Remove unused code for old mult select design" into udc-dev 2023-04-11 21:20:55 +00:00
Federico Baron b326859f27 Merge "Prevent two pane widget picker code from reaching foldables" into udc-dev 2023-04-11 21:10:56 +00:00
Andy Wickham 21d857a21f Fix single frame flicker for views reacting to keyboard insets.
This includes Folders, bottom apps searchbar, work apps button.

The issue is that the view was being drawn between onStart and
onProgress. Before onStart is called, the final keyboard insets
are dispatched to determine the view's final state, so this draw
captured this otherwise invisible state. Normally, onProgress
would be called first, effectively resetting the view; but for
example, the transition from closing the apps drawer forces a
draw prematurely.

Fix: 265830720
Test: Manual
Flag: N/A, but improves the ENABLE_FLOATING_SEARCH_BAR flag.
Change-Id: I818cb75628dec6dcc69e5f4b8ae554c2245dceca
2023-04-11 12:27:17 -07:00
Sunny Goyal 1ae46ca868 Moving all DB management logic from LauncherProvider into a separate class
This would make it easier to move the controller to LauncherModel

Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: I4d044cf41361f400968ef65e18de5d3976fcdec7
2023-04-11 11:46:40 -07:00
Saumya Prakash 5547d3b99d Add gesture navigation education animations for foldables
This change adds in additional Lottie animations for foldable devices
for the redesigned gesture navigation tutorial.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 253520701
Test: Went through the gesture navigation tutorial on foldables and verified animations show up correctly.
Change-Id: I88b9094dcc0074f70670402870944db0fa57ebbe
2023-04-11 18:10:41 +00:00
Sunny Goyal f8e0e7270e Merge "Removing support for adding legacy shortcuts." into udc-dev 2023-04-11 14:39:53 +00:00
Xin Li 1ed1e3a604 Merge TQ2A.230405.003
Bug: 271343657
Merged-In: I7795abe0aebefca2d42998a672abfd12f951d501
Change-Id: I9c1577c5b5a389d5ec83d5edd8b88ff1f5b3d64e
2023-04-10 23:57:24 -07:00
Bill Yi 673da4dc3f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia4a6ad0782cf4ce51f94b740f3fb7247ac692898
2023-04-10 23:17:11 -07:00
Tony Huang 433d215c88 Merge "[Re-land] Implement two intents or shortcuts to active split" into udc-dev 2023-04-11 05:43:14 +00:00
Sihua Ma 4c233bd645 Merge "Attempt to fix concurrent modification issue in QuickstepWidgetHolder" into udc-dev 2023-04-11 02:14:22 +00:00
Vadim Tryshev f1fe64eb95 Merge "Not spamming logs with "Hierarchy before swiping up to home"" into udc-dev 2023-04-11 02:04:50 +00:00
Jon Miranda c88f04c83d Fix bug where taskbar is translated during hotseat handoff. am: ecb55ef471 am: 0400e2ba46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531977

Change-Id: I3d67bdb37964935e565c10fba06c5c172b3575ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 23:49:39 +00:00
TreeHugger Robot b7254fd92b Merge "Do not clear the changed view when there is an update to RemoteViews" into udc-dev 2023-04-10 23:42:08 +00:00
Jon Miranda 0400e2ba46 Fix bug where taskbar is translated during hotseat handoff. am: ecb55ef471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531977

Change-Id: If9624d1b602edd615e19ae135e963723537ce574
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 23:19:59 +00:00
vadimt 22b1daea5e Not spamming logs with "Hierarchy before swiping up to home"
Bug: 260260325
Test: presubmit
Change-Id: I74e0729ae62656a235eb71e443a2ddf9a6cae3f9
2023-04-10 15:19:48 -07:00
fbaron e74256bba8 Remove unused code for old mult select design
We previously made a few CL's guarded under flags for the multi select feature. We ended up having to halt progress on this, and now that we're starting again, the design is different and we are using a new flag. Here we get rid of the unused code and flags

Bug: 277617038
Test: Verify everything still works normally, everything was guarded under flags that were off so there shouldn't be any changes
Change-Id: I2f57d1f67aa2a8cf83287f6f3df9fa6c46dbf0ab
2023-04-10 14:55:41 -07:00
Sihua Ma 6090c345a1 Do not clear the changed view when there is an update to RemoteViews
The way we are stashing the pending updates should follow the behavior pattern as that shown in AppWidgetServiceImpl

Fix: 277120633
Test: Manual
Change-Id: I92b3edb078b30873c2ef1b9fe408cbb76a34e135
2023-04-10 13:45:25 -07:00
Sunny Goyal 84b48d8deb Removing support for adding legacy shortcuts.
All existing legacy shortcuts will be migrated one-time to deep shortcuts
This shortcuts are pinned under the Launcher package, with custom badging

Bug: 275875209
Test: Updated unit tests
Flag: N/A
Change-Id: I7da001f724776ad8d6c807517b7e4e259de626c2
2023-04-10 12:28:52 -07:00
Brian Isganitis f6bf07a5fe Merge "Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet." into udc-dev 2023-04-10 19:17:47 +00:00
TreeHugger Robot 643253d433 Merge "Moving DatabaseHelper to it's own class outside of Launcher provider" into udc-dev 2023-04-10 18:33:39 +00:00
Stefan Andonian eac832aedd Merge "Load Delegate Items in correct order when loading Launcher Data." into udc-dev 2023-04-10 18:26:25 +00:00
Brian Isganitis 3ef917a4e3 Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet.
Test: Manual
Fix: 270396268
Change-Id: I3cebdb6646060cf6793e5ffc638213dde41338c0
2023-04-10 12:55:18 -04:00
Sunny Goyal ba2795827b Moving DatabaseHelper to it's own class outside of Launcher provider
Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: Ib8c94ceb954172dc27e357be2face06d50d399dd
2023-04-10 09:15:18 -07:00
Stefan Andonian e4609a27bd Load Delegate Items in correct order when loading Launcher Data.
Bug: 251502424
Test: Loaded and bound the workspace properly.
Change-Id: Ia6d609ffa21c5036cb48e464d3e8d4fa561cb008
2023-04-10 15:46:12 +00:00
Tony Huang 26b426aa89 [Re-land] Implement two intents or shortcuts to active split
Implement two intents or shortcuts to active split with shell
transition.

Fix: 259368992
Test: manual
Test: pass existing tests
Change-Id: If65ddbe6486a8bb1766019c6e05ac2cc5cbe08fc
2023-04-10 13:04:30 +08:00