Commit Graph
87505 Commits
Author SHA1 Message Date
Tracy Zhou 109b442a83 Merge "Do not animate icon alignment in phone mode" into main 2023-11-02 16:23:39 +00:00
Brandon Dayauon 2424d48867 Merge "Fix the badge in badge (triple badging), by simply removing the user badge (FLAG_SKIP_USER_BADGE)." into main 2023-11-02 15:27:11 +00:00
Pat Manning 616a250b62 Shorten app title in overview icon app chip menu.
- Do not show "work" at the beginning of work apps.
- Do not use the top component name in case any dialogs are on top of app.

Fix: 305988810
Fix: 305983272
Fix: 307231916
Test: OverviewImageTest
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu DEVELOPMENT
Change-Id: I4ce741529c975db778abc540e6c353ea4c76bf11
2023-11-02 14:15:54 +00:00
Alex Chau 39c548bd03 Merge "Revert "Update Tapl tests for enable_grid_only_overview"" into main 2023-11-02 13:36:34 +00:00
Sam Dubey 0552d37f34 Revert "Update Tapl tests for enable_grid_only_overview"
Revert submission 25220083-b/283246928

Reason for revert: b/308930958

Reverted changes: /q/submissionid:25220083-b/283246928

Bug: 283246928
Change-Id: I69ce128061f7ffad213f8f193122b18e5ee9378d
2023-11-02 13:33:55 +00:00
Alex Chau c543b46070 Merge "Fix TaskViewSimulatorTest to be independent of device it runs on" into main 2023-11-02 11:13:20 +00:00
Alex Chau 25cd358a27 Merge "Update Tapl tests for enable_grid_only_overview" into main 2023-11-02 11:06:03 +00:00
John Andrew Camu 6b271b3204 Merge branch '12.1-dev' into 13-pr 2023-11-02 14:48:33 +08:00
Treehugger Robot 24bb5d95dd Merge "Fix Insets override types can not be changed after the window is added" into main 2023-11-02 03:19:38 +00:00
renovate[bot] 6bd64818e2 Update dependency androidx.navigation:navigation-compose to v2.7.5 (#3696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-02 10:28:34 +08:00
renovate[bot] 0ad423db99 Update protocVersion to v3.25.0 (#3697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-02 10:28:18 +08:00
MrSluffy 032cd665a1 Rename systemUIUnFold -> systemUnFold 2023-11-02 08:15:26 +08:00
MrSluffy 3ae2dd41a6 Revert "Update build_debug_apk.yml"
This reverts commit e530b91a5a.
2023-11-02 08:15:06 +08:00
Tony Wickham eccf070bae Change TAPL to swipe to stash taskbar (instead of deprecated long press)
This also means Taskbar is transient by default in automated tests,
instead of persistent. Updated some checks accordingly.

Flag: LEGACY ENABLE_TRANSIENT_TASKBAR ENABLED
Test: TaskbarExpandCollapse#hideShowTaskbar; TaplTestsTaskbar;
TaplTestsTransientTaskbar; TaplTestsPersistentTaskbar
Bug: 270395798

Change-Id: Ib6e592a31a55a912a7ea991a421a9c60bca51c80
2023-11-01 23:16:10 +00:00
Vinit Nayak a0ed884dfd Merge "Add logs when sysuiProxy clears binder refs" into main 2023-11-01 22:49:17 +00:00
Tracy Zhou b3fdfc650a Fix Insets override types can not be changed after the window is added
insetsSizeOverrides must have the same length and types according to WindowManagerService#relayoutWindow

Bug: 308441430
Test: manual
Change-Id: I7416a5302c90652e1fa266cc98e3c7825fa17e64
2023-11-01 15:36:45 -07:00
Jagrut Desai eaef199883 Close Taskbar All Apps when Taskbar Pinning is animating
Test: Manual
Bug: 308488799
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: Iec33ba1acb840bb1cd05c440daab4508e91f2bfc
2023-11-01 15:34:18 -07:00
Kevin Lim a8ada5314c [Settings] Remove logic to restore highlight to 0th item in
SettingsActivity.

Bug: b/303787732
Flag: NONE
Test: Manual: http://recall/clips/9504ce89-ec62-4b32-b43e-0740300f872f
Change-Id: I47e55811637ff2d7fff996b19ad7af867a1307ba
2023-11-01 22:28:46 +00:00
Alex Chau 3029b8314e Update Tapl tests for enable_grid_only_overview
- Add "task" as id for TaskView, and use it instead of "snapshot" when creating OverviewTask, so that for split tasks are caputred as a whole in getCurrentTask and getTasks
- Fix getCurrentTask() to correctly get the top-right tasks in grid only overview. It'll first get the widest task, and then top, and then rightmost task
- Fix scrollLeftByDistance() to correctly account for leftGestureMargin to make sure it scroll by distance provided
- Fix scrollCurrentTaskOffScreen() to actually scroll the task off screen
- Fix createAndLaunchASplitPair() to use Task menu instead of Overview actions for grid only overview
- Skip testOverviewActions() in grid only overview, where Overview actions isn't available
- Fix testOverivewForTablet to expect the correct task in grid only overview; also disabled part of a test due to an animation bug in Overview
- Fix dismissBySwipingUp() to swipe from bottom of task, which is required to effectively dismiss top row tasks
- Also fixed OverviewTask to correctly get objects in FallbackOverview

Bug: 283246928
Test: presubmit
Flag: None
Change-Id: I5dd39b1779ea02738556f921169dbe38aa4cba8c
2023-11-01 22:15:12 +00:00
Jagrut Desai 1e63858559 Merge "Turn on TASKBAR_PINNING for TEAMFOOD" into main 2023-11-01 22:06:31 +00:00
Jagrut Desai 524e05b921 Merge "Fix Taskabr Divider Line traveling too far" into main 2023-11-01 22:06:16 +00:00
Vadim Tryshev 864c02a47d Merge "Clean up comment" into main 2023-11-01 21:39:42 +00:00
fbaron 95ed863d96 Fix page indicator bugs for foldable
There are bugs when unfolding the felix device where the page indicator will appear in the wrong place, and have to animate all the way back to where it should go. This was originally fixed with ag/24399441 but it seems that the issue is still happening when flag FOLDABLE_SINGLE_PAGE is off. Here we fix that issue..

Fix: 294231977
Fix: 291822492
Flag: NONE
Test: n/a
Change-Id: I6ae97ebbb034f5b520a4f5ace729b44b89ea73a0
2023-11-01 14:19:07 -07:00
Winson Chung 642559bbf3 Add logs for starting the home activity directly
- We need to narrow down how home is being started after a recents
  transition

Bug: 285636175
Test: dumpsys activity service TouchInteractionService
Change-Id: I527a69cb045d426f820cfb5c8ba3c95eeff92889
2023-11-01 20:28:49 +00:00
Alex Chau 382e1868c7 Fix TaskViewSimulatorTest to be independent of device it runs on
- Fix TaskViewSimulatorTest to properly set up densityDpi, so the test result is consistent regardless of the device it runs on. Also used SandboxContedxt's putObject() to avoid using reflection

Bug: 283246928
Test: TaskViewSimulatorTest
Flag: None
Change-Id: I926459fa97dd09a266cd017e4a0fb8e658a3509c
2023-11-01 19:51:37 +00:00
Tony Wickham 286fc215e6 Fix 3 button mode issues in AllSetActivity
- Set system bars appearance to light/dark depending on device
  theme to ensure visibility
- Also fix issue where taskbar icons would appear partially
  offscreen and prevent pressing nav buttons if you rotated

Fixes: 293438087
Test: adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
  - Skip to the end (AllSetActivity), and ensure 3 buttons are visible
  - Rotate device and ensure 3 buttons are still visible and functional
  - Will also flash / wipe to the build once it's created
Flag: None
Change-Id: Ie2d9bf1e1d95a6ccbd1f9c592adb51390b21ad85
2023-11-01 17:08:29 +00:00
MrSluffy e530b91a5a Update build_debug_apk.yml 2023-11-01 21:00:27 +08:00
Thales Lima 9623aaa470 Merge "Change AllApps padding to use a Rect" into main 2023-11-01 12:21:53 +00:00
John Andrew Camu 38972e88a9 Merge branch '12.1-dev' into 13-pr 2023-11-01 15:41:37 +08:00
MrSluffy 90b2f9f2e8 Catch error 2023-11-01 14:51:38 +08:00
MrSluffy acb3afa1f3 Properly set at glance cellHspan 2023-11-01 14:51:38 +08:00
MrSluffy 7a23ea7d17 Remove duplicate unseal 2023-11-01 14:51:38 +08:00
MrSluffy 6d7154c47a Apply Pixel launcher device profile 2023-11-01 14:51:38 +08:00
MrSluffy f27507cc0e Temp Fixed Hidden App in drawer 2023-11-01 14:51:38 +08:00
MrSluffy de644de4fd Make sure not to access elements beyond their bounds
This error occurs when dock grid is greater than workspace grid

Error :
java.lang.ArrayIndexOutOfBoundsException: length=4; index=4
	at com.android.launcher3.CellLayout$ViewCluster.isViewTouchingEdge(CellLayout.java:2053)
	at com.android.launcher3.CellLayout.pushViewsToTempLocation(CellLayout.java:1894)
	at com.android.launcher3.CellLayout.attemptPushInDirection(CellLayout.java:2173)
	at com.android.launcher3.CellLayout.rearrangementExists(CellLayout.java:2372)
	at com.android.launcher3.celllayout.ReorderAlgorithm.findReorderSolution(ReorderAlgorithm.java:76)
	at com.android.launcher3.celllayout.ReorderAlgorithm.calculateReorder(ReorderAlgorithm.java:185)
	at com.android.launcher3.CellLayout.calculateReorder(CellLayout.java:2435)
	at com.android.launcher3.CellLayout.performReorder(CellLayout.java:2453)
	at com.android.launcher3.Workspace.manageReorderOnDragOver(Workspace.java:2589)
	at com.android.launcher3.Workspace.onDragOver(Workspace.java:2570)
	at com.android.launcher3.dragndrop.DragController.checkTouchMove(DragController.java:489)
	at com.android.launcher3.dragndrop.DragController.handleMoveEvent(DragController.java:453)
	at com.android.launcher3.dragndrop.LauncherDragController.startDrag(LauncherDragController.java:154)
	at com.android.launcher3.dragndrop.DragController.startDrag(DragController.java:156)
	at com.android.launcher3.Workspace.beginDragShared(Workspace.java:1830)
	at com.android.launcher3.Workspace.beginDragShared(Workspace.java:1732)
	at com.android.launcher3.Workspace.startDrag(Workspace.java:1721)
	at com.android.launcher3.touch.ItemLongClickListener.beginDrag(ItemLongClickListener.java:85)
	at com.android.launcher3.touch.ItemLongClickListener.onWorkspaceItemLongClick(ItemLongClickListener.java:65)
	at com.android.launcher3.touch.ItemLongClickListener.$r8$lambda$nz9MSaglTImbNX-jBQmvpOY7s8M
2023-11-01 14:50:15 +08:00
MrSluffy 781861fb10 Remove UnOfficial 2023-11-01 14:49:44 +08:00
Andy Wickham 24a50df135 Add animateNavBarLongPress to SystemUiProxy and ANIMATE_LPNH flag
Bug: 306400785
Bug: 308693847
Test: Manual
Flag: LEGACY ANIMATE_LPNH TEAMFOOD
Change-Id: I996c923e5a1949e6219f900da12e2b5091597750
2023-10-31 23:45:12 -07:00
Vadim Tryshev 5ad63608f7 Clean up comment
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ibe17cd8142689598db1ce5700ef122b67b37e1a7
2023-10-31 15:49:52 -07:00
Stefan Andonian 7117c55578 Merge "Robustly fixed issue where migration from different versions of DB data tables was causing crashes upon grid size switching." into main 2023-10-31 22:44:06 +00:00
Jagrut Desai 3222387d67 Merge "Add "SettingsLibSettingsTheme" to "QuickstepResLib" static libs" into main 2023-10-31 22:01:54 +00:00
Stefan Andonian e8b86db34d Robustly fixed issue where migration from different versions of DB data
tables was causing crashes upon grid size switching.

Bug: 304687723
Test: Verified behavior through unit test. Also manually tested that
factory resetting device -> adding shortcuts to the workspace ->
changing the grid size didn't cause any issues and resulted in normal
behavior.

Change-Id: I1945004d2c9a2d6f2b74d9597b39763ed4962e7b
2023-10-31 20:27:26 +00:00
Bill Yi b8c04f7e08 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: fae7bcdcc7 -s ours am: ce020c5b8d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I27390e494890e1accbf338494f964ae2bf557938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:34:41 +00:00
Bill Yi 680462c924 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: bd46ac2e47 -s ours am: 08d78b87f7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib6eee3edc79012f958d51427ddb6300f0d8cda3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:34:29 +00:00
Bill Yi 4c39d613ce [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fa473558ba -s ours am: 781677213b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id6e45ee5540912b96c730e3d735b3e378539a156
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:34:10 +00:00
Jagrut Desai fae321cf0a Add "SettingsLibSettingsTheme" to "QuickstepResLib" static libs
Test: Presubmit
Bug: 308638354
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED

Change-Id: I713a6555c256478972da02956c423b3f267daa71
2023-10-31 18:17:31 +00:00
Bill Yi ce020c5b8d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: fae7bcdcc7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id731e69a06c0289a6933fa3f217012bc6ff41177
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:09:34 +00:00
Bill Yi 08d78b87f7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: bd46ac2e47 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I66001ac7230def19dd66dc944db4a51e29b6e751
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:09:22 +00:00
Bill Yi 781677213b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fa473558ba -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibe8f837b16b6a3e2fff71796efa5893946a1b3b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:09:03 +00:00
Bill Yi 8862d8f04d Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-10-31 17:46:17 +00:00
Bill Yi 7b887a6cd2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-10-31 17:46:17 +00:00