Commit Graph

72519 Commits

Author SHA1 Message Date
Winson Chung 3e113fef7f Merge "Add logs for starting the home activity directly" into main 2023-11-02 18:18:00 +00:00
Federico Baron 0282c107fa Merge "Fix page indicator bugs for foldable" into main 2023-11-02 17:34:18 +00:00
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
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
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
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
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
Thales Lima 9623aaa470 Merge "Change AllApps padding to use a Rect" into main 2023-11-01 12:21:53 +00: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
Bill Yi fae7bcdcc7 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-10-31 17:20:48 +00:00
Uwais Ashraf 8c7fdc1a88 Merge "Replace usage of deprecated initAllFlagsToReleaseConfigDefault() method" into main 2023-10-31 16:54:03 +00:00
Himanshu Gupta 510fa88571 Merge "Adding support for private/clone profile badge in Launcher3." into main 2023-10-31 16:28:40 +00:00
Thales Lima b433c9c312 Change AllApps padding to use a Rect
AllApps uses different values for left and right padding in some places (e.g. ActivityAllAppsContainerView uses workspacePadding.left/right), and this change is the first step into moving those values into DeviceProfile.

Bug: 269632571
Test: NexusLauncherTest
Flag: NONE
Change-Id: I14c4edf55ca74f256b1aaa336fff246a0c78e25d
2023-10-31 16:19:40 +00:00
Anushree Ganjam 39d05284d7 Merge "Call SetSummary for seekbarPref instead of calling onPreferenceChange()." into main 2023-10-31 16:16:28 +00:00
Uwais Ashraf 4fc9a1001f Replace usage of deprecated initAllFlagsToReleaseConfigDefault() method
Bug: 306088813
Flag: NA
Test: Presubmits passing
Change-Id: Iff852702424f4e18c67a6bd3b110beb528b39e3b
2023-10-31 15:31:18 +00:00
Himanshu Gupta 6e030348dd Adding support for private/clone profile badge in Launcher3.
Bug: 289224457
Flag: None
Test: Flash on device and Presubmit
Change-Id: Icebb5b5129a2f0d909481f00d51e047431a23a15
2023-10-31 07:46:34 +00:00
Ats Jenk 866e77101c Merge "Use aconfig flag for desktop mode" into main 2023-10-31 05:07:02 +00:00
Bill Yi bd46ac2e47 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a896fab1575b944ef17d21ed96dfb1b192e9cd0
2023-10-30 20:00:13 -07:00
Bill Yi 471288be03 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iece21e05050bf8bb0910936902b32573270e4e91
2023-10-30 19:59:46 -07:00
Bill Yi fa473558ba Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4194ef5bacc03bc059706da3d4336b3cf71a7d1e
2023-10-30 19:58:47 -07:00
Bill Yi bb8419b8f9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2e57af4db51bc722d5fe7560c92b371ab61cfcf9
2023-10-30 19:58:19 -07:00
Anushree Ganjam 9b80783031 Call SetSummary for seekbarPref instead of calling onPreferenceChange().
This way the preference will not be created with the default value
initially and preference is created only when seekbar is modified
manually in developer options. Preference can be set using device_config and the default
value can be read from device config flags.

Bug: 301680992
Flag: Legacy CUSTOM_LPNH_THRESHOLDS DISABLED
Test: Manual
Change-Id: Ie48384e4799cfe0f58a469bcb7aafb971beaea19
2023-10-30 18:26:31 -07:00
Vinit Nayak d1e9cacfdc Add logs when sysuiProxy clears binder refs
Bug: 302551868
Flags: None
Change-Id: Iec9fc3cd52a3e3bac0ba61d0f38dbc05933e573c
2023-10-30 16:13:51 -07:00
Sunny Goyal 24e738e872 Merge "Removing some dependencies on Activity" into main 2023-10-30 22:50:19 +00:00
Jagrut Desai b7f4236776 Fix Taskabr Divider Line traveling too far
Currently, all apps button and divider line overlaps each other when launching app from home. so here we are arbituraly making tasakbar divider line position in hotseat to be little off centered so icons don't over lap and divider line travels less to its position on taskbar.

Test: Manual
Bug: 308488785
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: I6cf9f3db50f34deb0c393ec1cfd0268e1b147758
2023-10-30 15:46:45 -07:00
Jeremy Sim 1819868da9 Merge "Fix bug with TAPL tests not recognizing full height/width of split tasks" into main 2023-10-30 21:53:58 +00:00
Jagrut Desai 0dbc0d0285 Turn on TASKBAR_PINNING for TEAMFOOD
Test: Presubmit
Bug: 265437087
Flag: LEGACY ENABLE_TASKBAR_PINNING TEAMFOOD
Change-Id: I13e7e5b96323a3b10d930a053fbeca7023cbba5f
2023-10-30 12:24:50 -07:00