Commit Graph

16331 Commits

Author SHA1 Message Date
Federico Baron 087bf95bb6 Merge changes Ic4c5cd96,I2cc2417f into udc-dev
* changes:
  Turn on flag for download app ux V3
  Improve color, contrast, and dimensions to match new spec for download icon
2023-04-14 18:14:49 +00:00
Sunny Goyal 348e518b2c Merge "Using a runtime generated layout for tests instead of defining xml" into udc-dev 2023-04-14 18:12:57 +00:00
fbaron ff8b89cea4 Turn on flag for download app ux V3
Bug: 267272201
Test: Verify that when the flag is on the new app download animation is visible
Change-Id: Ic4c5cd9678d6eb5dd9d66114e82eb9d93d48fd46
2023-04-13 23:53:20 +00:00
Federico Baron 4ba9c11568 Improve color, contrast, and dimensions to match new spec for download icon
Here we update the values to the correct HCT values according to the specs, as well as the size of the icon

Bug: 267272201
Test: Turn on flag ENABLE_DOWNLOAD_APP_UX_V3 and download an app to see the changes.
Change-Id: I2cc2417f7500c4c08c41056bfeef3c33f4eab174
2023-04-13 23:53:20 +00:00
Stefan Andonian 4c28cd49ca Merge "Make all debug feature flags boot aware." into udc-dev 2023-04-13 22:05:36 +00:00
Sunny Goyal 94a8a8aa06 Merge "Removing remaining code around ENABLE_DATABASE_RESTORE" into udc-dev 2023-04-13 19:51:04 +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
Brian Isganitis 804107b058 Merge "Define type set for taskbar overlays." into udc-dev 2023-04-13 14:21:37 +00:00
Sunny Goyal ab2f808196 Using a runtime generated layout for tests instead of defining xml
This allows support for easily setting up default layouts

Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: I1c089d60ac3f8add8d7e1060d343e04d30afe094
2023-04-12 22:54:14 +00:00
Sunny Goyal eb27546cc3 Removing remaining code around ENABLE_DATABASE_RESTORE
ENABLE_DATABASE_RESTORE feature is already removed
Also migrating some tests from BackupRestoreTest to RestoreDbTaskTest

Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I71822bbc2232008b3d2b4b9fbed0db5d889591e4
2023-04-12 15:52:35 -07: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
Stefan Andonian 85f1024f44 Make all debug feature flags boot aware.
Bug: 276090194
Test: FeatureFlags worked on device.
Change-Id: I710801d63e6f4283bf15daea2b5be5874de21cc8
2023-04-12 21:02:13 +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
Brian Isganitis e41faf5f48 Define type set for taskbar overlays.
Test: Manual
Bug: 216683257
Change-Id: Iabb997ec4eba0fa105b8518c8c31285ae9c35450
2023-04-12 14:16:25 -04: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
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
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
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
Stefan Andonian fbf2d5e717 Merge "Add @WorkerThread Annotations to RPC calling methods in QsbContainerView." into udc-dev 2023-04-07 23:13:20 +00:00
Sunny Goyal 895392e923 Removing some obsolete features:ENABLE_MINIMAL_DEVICE, ENABLE_DATABASE_RESTORE
Bug: 270392984
Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I58c3e76de521e702fb44ccfc14c9b5a731b1d511
2023-04-07 13:59:08 -07:00
Schneider Victor-tulias 8744d8b6f1 Merge "Cleanup ENABLE_BULK_WORKSPACE_ICON_LOADING" into udc-dev 2023-04-07 20:10:27 +00:00
Stefan Andonian 7fcee91610 Add @WorkerThread Annotations to RPC calling methods in QsbContainerView.
Bug: 243408674
Test: Compiled and runs on phone correctly.
Change-Id: I5062e2c88f161562f75158f86501c6443fa06aae
2023-04-07 17:56:29 +00:00
Schneider Victor-tulias 6fca4b795b Cleanup ENABLE_GESTURE_ERROR_DETECTION
Flag: ENABLE_GESTURE_ERROR_DETECTION
Fixes: 270389990
Test: printed gesture nav logs
Change-Id: I68317b75b10d46ccae29206d94290e013b2a7cca
2023-04-07 17:14:59 +00:00
Schneider Victor-tulias 4217c930cc Cleanup ENABLE_BULK_WORKSPACE_ICON_LOADING
Flag: ENABLE_BULK_WORKSPACE_ICON_LOADING
Fixes: 270392203
Test: restarted device
Change-Id: Iac6c3da1fb7cfc5c9f7e947b3caf679a50133343
2023-04-07 17:13:52 +00:00
Tracy Zhou acb218294b Merge "Turn off ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS in U" into udc-dev 2023-04-07 07:19:30 +00:00
Tracy Zhou cc613c93f9 Turn off ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_SHORTCUTS in U
Will enable in U-QPR branch once it's cut, since split to workspace is targeting U-QPR1

Bug: 270394122
Test: N/A
Change-Id: I9ead8616fb08125b69325db931cea553168f5194
2023-04-06 21:02:03 -07:00
Federico Baron 231a65e289 Merge "Revert "Fix bug where very large widgets get cropped out"" into tm-qpr-dev am: 627376d5b9 am: 6e15488a84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22514931

Change-Id: Ib17fdb1a1236fbbf0417c7c182c530dbcd17ef74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 03:25:39 +00:00
Federico Baron 6e15488a84 Merge "Revert "Fix bug where very large widgets get cropped out"" into tm-qpr-dev am: 627376d5b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22514931

Change-Id: Iac69ac354de9a81293e9b3ec7955c926227eb0ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 02:43:54 +00:00
Federico Baron 627376d5b9 Merge "Revert "Fix bug where very large widgets get cropped out"" into tm-qpr-dev 2023-04-07 02:13:45 +00:00
Sunny Goyal 7b74a5c53f Merge "Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""" into udc-dev 2023-04-07 01:02:09 +00:00
Tracy Zhou 47d4769357 Merge "Log the input type for gesture nav gestures" into udc-dev 2023-04-06 23:33:51 +00:00
Charlie Anderson 39fbf0e1a7 Merge "Prevents cropping of shortcuts in the app popup menu by limiting rows to available screen space." into udc-dev 2023-04-06 22:44:42 +00:00
Sunny Goyal 5cd1b198b0 Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""
This reverts commit 7025765c72.

Reason for revert: 274169859

Change-Id: I86a114bf2c713fea6ec7095f68816820ba5f7495
2023-04-06 22:33:11 +00:00
Treehugger Robot 4c61c48dd4 Merge "Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING" into udc-dev 2023-04-06 21:28:38 +00:00
TreeHugger Robot a47bd20ce4 Merge "Cleanup ENABLE_TASKBAR_POPUP_MENU" into udc-dev 2023-04-06 20:30:30 +00:00
Treehugger Robot 4f93cc72a5 Merge "Cleanup ENABLE_BULK_ALL_APPS_ICON_LOADING" into udc-dev 2023-04-06 20:29:39 +00:00
Treehugger Robot 6a9a1b39f7 Merge "Cleanup ENABLE_SMARTSPACE_DISMISS" into udc-dev 2023-04-06 20:29:35 +00:00