Commit Graph

76729 Commits

Author SHA1 Message Date
Uwais Ashraf e61ad56098 Align empty recents message+icon to center of View.
Seems like it was previously aligned to center of task which doesn't always look good.

Screenshots:
Handheld before - https://screenshot.googleplex.com/6GmqhTjUhUpwwBs
Handheld after - https://screenshot.googleplex.com/3QMYCQaS6USMQYy

Tablet before - https://screenshot.googleplex.com/7tsERFGVsa6QSNY
Tablet after - https://screenshot.googleplex.com/8itDgQ2jDTHk463

Unfolded before - https://screenshot.googleplex.com/AJaqC9LqP2Dwfz2
Unfolded after - https://screenshot.googleplex.com/8aaa7ZhemqHXHRh

Fix: 299100892
Test: OverviewEmptyMessageImageTest and observed on tablet, handheld and unfolded.
Change-Id: I538d25e5a98e25351e71718de3ca572fd00438ad
2023-10-04 14:57:11 +00:00
Bill Yi 6105891d36 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If4ad039f050e4561270ff10218401060c3f94362
2023-10-03 22:14:28 -07:00
Tracy Zhou b1122a4ad3 Merge "Fix some merge issues in repositioning contextual buttons for taskbar/navbar unification" into main 2023-10-04 04:00:24 +00:00
Vadim Tryshev 980769a857 Ignoring the whole fallback TaskView
Bug: 286251603
Test: presubmit
Flag: N/A
Change-Id: I9f8dad8ab2beebfcf37d0035096a5747a314c20a
2023-10-03 18:45:58 -07:00
Jeremy Sim 4986aa85e5 Merge "App Pairs: App pairs now save with automatic default name and custom split ratios" into main 2023-10-04 00:06:57 +00:00
Jagrut Desai 0dce287a6c Change Taskbar Window height logic for taskbar pinning.
- Breakout CL part 6
- This is a breakout cl from ag/24272821 to make it more readable and atomic.
- This cl makes default taskbar window height to be transient when the taskbar pinning flag is on, so we don't see taskbar window cutoff during animation.

Test: Manual, Visual
Bug: 265170176
Flag: ENABLE_TASKBAR_PINNING
Change-Id: I37e8ad0f2c4d144476828f101019dcacdea7acb2
2023-10-03 16:53:32 -07:00
Android Build Coastguard Worker 110ffbd34d Snap for 10896666 from bcac59d6ea to udc-qpr1-release
Change-Id: I304b3c605e4559fe4e9cf4438df5bee3c69b9e0e
2023-10-03 23:19:25 +00:00
Brian Isganitis a9928faea8 Merge "Promote ENABLE_ALL_APPS_SEARCH_IN_TASKBAR to droidfood." into main 2023-10-03 22:05:15 +00:00
fbaron 80b0ce819c Cleanup SHOW_DOT_PAGINATION flag
Fix: 270395278
Flag: no flag
Test: verify everything still works the same
Change-Id: I803d9c22ac4c7040c47410b97cbdb2b11e33e8c9
2023-10-03 21:59:02 +00:00
Federico Baron 80c138f293 Merge "Add smartspace as a widget to first page (implementation 2)" into main 2023-10-03 21:57:54 +00:00
Fengjiang Li d31f9080aa Merge "Fix All Apps Icons Count estimation" into main 2023-10-03 21:57:36 +00:00
Fengjiang Li 0c740c774e Merge "[Launcher] Fix launcher startup logging" into main 2023-10-03 21:26:39 +00:00
Vadim Tryshev 23825e84a8 Merge "Tearing down the test safely." into main 2023-10-03 21:02:51 +00:00
Ats Jenk eb143041fa Enable live tile for desktop
Remove logic to always screenshot desktop tasks.

Bug: 297590571
Test: swipe up to recents when on desktop
Change-Id: Ie6e95f711e1721f66a2ed6081fe99d941c18b393
2023-10-03 13:52:46 -07:00
Brian Isganitis 06139e079c Migrate Kotlin tests to use mockito-kotlin2.
Test: atest
Bug: 300509464
Flag: No
Change-Id: I5e0d0f1f29d51cdbfacd51f7229afddf8bd66f7e
2023-10-03 16:04:19 -04:00
Brian Isganitis 26e1ff58ca Promote ENABLE_ALL_APPS_SEARCH_IN_TASKBAR to droidfood.
Test: Manual
Bug: 216683257
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR
Change-Id: I02a492af320775404603d939b405764eff61d8a1
2023-10-03 14:12:19 -04:00
Liran Binyamin 5bec1164b9 Merge "Make the bubble bar flag dynamic in Launcher." into main 2023-10-03 17:47:11 +00:00
Jeremy Sim 6ac8949fc4 App Pairs: App pairs now save with automatic default name and custom split ratios
[App Pairs 4/?]

This patch includes:
- Ability to save and launch app pairs with custom 0.3, 0.7, or 0.5 split ratios
- App pairs now save with default name "App1 | App2"
- Grid migration, prediction, and other misc. flows should now work with app pairs

Flag: ENABLE_APP_PAIRS (set to false)
Bug: 274189428
Test: AppPairsControllerTest.java
Change-Id: I46dd3e30f8de03dd3e6d086c8ff9fc52e7e7fd2b
2023-10-03 10:38:03 -07:00
Federico Baron 769fa53481 Merge "Cleanup LARGE_SCREEN_WIDGET_PICKER flag" into main 2023-10-03 17:26:53 +00:00
Federico Baron bf5757c334 Merge "Cleanup ENABLE_DOWNLOAD_APP_UX_V3 and ENABLE_DOWNLOAD_APP_UX_V2" into main 2023-10-03 17:25:55 +00:00
Sunny Goyal 81039b2d73 Removing unused interfaces from Launcher
Bug: 301661768
Test: Presubmit
Flag: N/A
Change-Id: Ia042805080bd314efff5a9bb4877f4f830fb3998
2023-10-03 10:19:39 -07:00
Fengjiang Li 6c59082697 Fix All Apps Icons Count estimation
We used to estiamte more all apps icons to pre-inflate than needed. This would reduce the post boot memory useage.

Test: Grab heap dump after device boot to verify number of BubbleTextView is reduced
Bug: 297352492
Change-Id: Ice3950b781fe7b5d7df2c0c5c7b7a316b5851bc7
2023-10-03 10:16:30 -07:00
Brandon Dayauon 0ae52c9863 Make DISPLAY_SEARCH_RESULT_SMALL not badged
bug: 299364813
Test:Manual -
before: https://drive.google.com/file/d/1Gb_bV5oIEPAvNYnqMJwscX-r1iz967eY/view?usp=sharing
after: https://drive.google.com/file/d/1GTH1A8biVAVnWXaArMkdzWK9kiwFhVCn/view?usp=sharing

Flag: n/a
Change-Id: I6e928079d53bfa7f87cde4d420ee05b1edf875f5
2023-10-03 15:49:45 +00:00
Liran Binyamin e41e6185e4 Make the bubble bar flag dynamic in Launcher.
Changing the flag currently requires a reboot, because it is read once when the process starts and never changes.
This change triggers a re-read of the flag value from SystemProperties whenever Taskbar is recreated.
This allows setting the flag as part of integration tests for bubble bar.

Bug: 273994695
Test: Manual:
       - turn flag off
       - create bubbles
       - observe floating bubbles are added
       - turn flag on
       - change navigation mode to gesture navigation
       - observe bubble bar becomes visible
Change-Id: I277ea6aa2c8d3ab04094537bf4cd31630310dfec
2023-10-03 10:49:30 -04:00
Alex Chau 6f264a927b Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag
Bug: 270397206
Test: OverviewActionsControllerTest
Flag: enableGridOnlyOverview
Change-Id: I1519e0e8d5b8a7e294d2d310c1614e8462649031
2023-10-03 12:58:18 +01:00
Tracy Zhou 5b3c85564f Fix some merge issues in repositioning contextual buttons for taskbar/navbar unification
Fixes: 300849078
Test: Rotate around, and make sure the rotation button stays in the same corner
Change-Id: Ifb7904117f4ae8b28f2d14b27fbb39fe1a82e6ae
2023-10-03 01:09:56 -07:00
Automerger Merge Worker 2cce534cbb Merge "[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours am: bcac59d6ea -s ours" into udc-qpr-dev-plus-aosp am: fc164abbbd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1a5ddf49f8f64be1ce6790fe2b7b9fd2674b88a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:49:07 +00:00
Bill Yi 20df6f726a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours am: bcac59d6ea -s ours am: 6e2dc49c25 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I65e39ed9e24aeab7e8155e52eba800af8b656c80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:48:50 +00:00
Automerger Merge Worker c776be316e Merge "[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours" into udc-d1-dev-plus-aosp am: e14815cc7f -s ours am: 4a7f1cdd3d -s ours
am skip reason: subject contains skip directive

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

Change-Id: If5c5ecf42dc9bbbc1404f0c4c69598add67adda4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:46:34 +00:00
Bill Yi ab8a0f037d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours am: a380b3df30 -s ours am: 5148433509 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id9103e4068c7f9a0f164208755bec61762327b58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:46:20 +00:00
Bill Yi d7254ba8e5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: dd2a64afa2 -s ours am: 361bfff1bc -s ours am: 1c31edfc91 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0219d56bd453f929350a17e38c08c8cc05aa8f59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:39:33 +00:00
Automerger Merge Worker fc164abbbd Merge "[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours am: bcac59d6ea -s ours" into udc-qpr-dev-plus-aosp 2023-10-03 05:14:13 +00:00
Automerger Merge Worker 4a7f1cdd3d Merge "[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours" into udc-d1-dev-plus-aosp am: e14815cc7f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iac0ef0b5030c87bbada80154727f2f35574524ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:12:34 +00:00
Bill Yi 5148433509 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours am: a380b3df30 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iec557f0e4ac85982442b6885da408e1c160220a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:12:19 +00:00
Bill Yi 6e2dc49c25 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours am: bcac59d6ea -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib2ea54a8bdb06cc238a7e63fe5646ed9b92a215b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:09:13 +00:00
Bill Yi 1c31edfc91 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: dd2a64afa2 -s ours am: 361bfff1bc -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id2e890b8ba443ea4a19685b6e7ca094095861bc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 05:08:36 +00:00
Vadim Tryshev daa553c7a9 Merge "Starting to tighten leak detector checks" into main 2023-10-03 04:59:09 +00:00
Automerger Merge Worker e14815cc7f Merge "[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours" into udc-d1-dev-plus-aosp 2023-10-03 04:39:58 +00:00
Bill Yi bcac59d6ea [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If1984c83b5d81c5530fe8e845b820808b1e9b5ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 04:36:24 +00:00
Bill Yi 361bfff1bc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: dd2a64afa2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic3061566d2744ae07fef5e44570d5432d8687df3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 04:35:39 +00:00
Bill Yi a380b3df30 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib652b74bced5fbefeefe190f0da2667c487d1416
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 04:34:45 +00:00
Bill Yi 62656d0661 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: 22c875a2d9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I708a02f50fb54a421b2d16c93ff87f7ddefeb110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 04:18:52 +00:00
Bill Yi db1564dc30 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I64457a597525e4199671585b4f082a02de6105c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 03:50:33 +00:00
Bill Yi 22c875a2d9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic8a9cf88f797a993c6f49a503b3cc0d257e0b309
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 03:50:14 +00:00
Bill Yi dd2a64afa2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1a7a052ce39eada3ca3b47851627e8d80b15632a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 03:48:42 +00:00
Bill Yi ef71ff3689 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-10-03 03:11:59 +00:00
Sebastián Franco bad922f50f Merge "Moving testWidgets from TaplTestsLauncher3 to it's own test TaplWidgetPickerTest" into main 2023-10-03 03:05:15 +00:00
Vadim Tryshev c0489b41a7 Tearing down the test safely.
If the test fails to initialize properly, tearDown is still called,
and we may have null Launcher activity.

We want to safely skip using that activity to avoid a NullPointerException
that would hide the original error message.

Bug: 303070230
Test: presubmit
Flag: N/A
Change-Id: I3bb07fa55e5793c73caaaeda57168aa11c85893e
2023-10-02 18:51:42 -07:00
Vadim Tryshev d8c049f2af Starting to tighten leak detector checks
This will help to detect leaks earlier, not when we have 3 activities in some cases, but when we have 2.

Adding a parameter that enables more strict detection, and using it in some places.

I'll try to convert as many places as possible to the more strict check after landing this CL.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Idd5a0386005e46dad8aab222bd77c0240f23f43a
2023-10-02 18:34:32 -07:00
Bill Yi 672104e234 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7d89450308 -s ours am: 944c20c55a -s ours am: 33f6ebe7cf -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie5037568b30201ad83ec2adda642d2c00bbcf86d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 22:16:16 +00:00