Himanshu Gupta
4499fa60f9
Preventing installed PS apps from moving to home screen
...
During app install in PS, promise app icons and the
installed app icons are added automatically on home screen.
In this change we restrict the same.
Also, checked that enabling `PROMISE_APP_IN_ALL_APPS` still
works for PS apps after this change.
Bug: 325057835
Test: Launcher3 tests
Flag: ACONFIG com.android.launcher3.Flags.private_space_restrict_item_drag TEAMFOOD
Change-Id: Iecff850bcc1cd17a123553a4258943da1ee61fcc
2024-02-16 19:28:58 +00:00
Sunny Goyal
772e0127c3
Merge "Cleaning up some no-op calls during workspace binding" into main
2024-02-15 01:56:02 +00:00
Vadim Tryshev
8602dc38a8
Merge "Disable unstable testCacheUpdate_update_apps in presubmit" into main
2024-02-15 01:37:02 +00:00
Liana Kazanova
099cb7c981
Merge "Revert "Add TAPL test cases for KQS from taskbar all apps."" into main
2024-02-14 23:55:44 +00:00
Andy Wickham
1abc0a7f66
Merge "Extract TaskbarViewCallbacks to a separate class + factory." into main
2024-02-14 23:15:55 +00:00
Sunny Goyal
e337a80ef2
Cleaning up some no-op calls during workspace binding
...
Bug: 318539160
Flag: None
Test: Manual
Change-Id: Ida21d849a06ed9c0ebf5671214dd9ee8525288d3
2024-02-14 15:10:54 -08:00
Vadim Tryshev
cb5d2ab72f
Merge "Doubling the wait time for activity creation in PortraitLandscapeRunner" into main
2024-02-14 19:54:39 +00:00
Vadim Tryshev
95dba8f278
Disable unstable testCacheUpdate_update_apps in presubmit
...
Bug: 325283522
Test: presubmit
Flag: N/A
Change-Id: Ia9b2b320780fef23d84f19ce140b9ce97b2bd20e
2024-02-14 18:18:46 +00:00
Schneider Victor-tulias
33ce1cf67c
Merge "Remove KQS touch handling outside its bounds" into main
2024-02-14 18:11:52 +00:00
Saumya Prakash
3acd0708ab
Merge "Add insets for taskbar when a camera cutout interrupts it" into main
2024-02-14 17:45:30 +00:00
Alex Chau
76502e84f2
Merge "Refactored StateManager logs" into main
2024-02-14 17:40:08 +00:00
Tracy Zhou
0f8aad3012
Merge "Fix NavButtonLayoutFactoryTest init dependency to turn on enableTaskbarNavbarUnification" into main
2024-02-14 16:04:24 +00:00
Schneider Victor-tulias
e724cb8e5f
Remove KQS touch handling outside its bounds
...
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 324906627
Fixes: 324893557
Test: opened KQS and tapped outside the bounds with taskbar present/absent
Change-Id: I10de9a1ea1ccca7321981fd5e9e66e9388a8dd0a
2024-02-14 10:42:01 -05:00
Schneider Victor-tulias
6e32385838
Merge "Show scrim immediately when animating to overview from app through KQS" into main
2024-02-14 15:21:35 +00:00
Schneider Victor-tulias
a0ab0f1d48
Merge "Update the KQS overflow icon" into main
2024-02-14 15:13:40 +00:00
Tracy Zhou
6800a71f95
Fix NavButtonLayoutFactoryTest init dependency to turn on enableTaskbarNavbarUnification
...
Fixes: 325084350
Test: run the unit test with the unification flag on, make sure it passes
Change-Id: I5f811585ec0c5c04578cbf7990b9790bdb900ee5
2024-02-14 07:17:23 +00:00
Sunny Goyal
bbb26c51d6
Merge "Sending original motion events to launcher overlay along with inferred values" into main
2024-02-14 03:49:18 +00:00
Tracy Zhou
64cdbf5c77
Merge "Do not add jank monitor for stash state change when the drag layer is not attached to the window" into main
2024-02-14 03:08:01 +00:00
Tracy Zhou
ab6ce8c7e2
Merge "Fix NavButtonLayoutFactoryTest setup to turn on enableTaskbarNavbarUnification" into main
2024-02-14 03:03:56 +00:00
Andy Wickham
0ae51bcdb9
Extract TaskbarViewCallbacks to a separate class + factory.
...
Also log long presses on the taskbar all apps button.
Test: Manual
Flag: NA
Change-Id: Id2bf194f09007bfccff9f83162e4bcfb6562580f
2024-02-13 18:51:48 -08:00
Brandon Dayauon
c2ec07da51
Merge "Fix FastScroller jumping in recyclerView" into main
2024-02-14 00:32:26 +00:00
Sunny Goyal
dc7cdd8b0c
Sending original motion events to launcher overlay along with inferred values
...
Bug: 273828110
Flag: aconfig use_activity_overlay disabled
Test: Manual
Change-Id: I23cd72a964a647a0fd830befa096f3328e12ff8a
2024-02-13 16:26:37 -08:00
Federico Baron
33c719622f
Merge "Add screenrecord for testAllAppsFromHome()" into main
2024-02-14 00:14:55 +00:00
Andrew Cole
1f36803a6d
Merge "Sort Apps During setApps" into main
2024-02-14 00:05:31 +00:00
Schneider Victor-tulias
bd5ffee884
Show scrim immediately when animating to overview from app through KQS
...
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 324888882
Test: opened overview from app/home with finger swipe/KQS/overview button
Change-Id: Ia4a15f5a64956ec56fc9aae3511173219616245e
2024-02-13 19:00:04 -05:00
Schneider Victor-tulias
322410712a
Update the KQS overflow icon
...
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 324886878
Test: opened KQS with 0 and 7+ recent apps
Change-Id: I2496841c6d8bb24d1c90d58eecc18726827ae993
2024-02-13 23:49:25 +00:00
Schneider Victor-tulias
4a9ffb021f
Merge "Update KQS empty message text/icon colors" into main
2024-02-13 23:46:31 +00:00
Saumya Prakash
bb3af5d904
Add insets for taskbar when a camera cutout interrupts it
...
Certain devices have camera cutouts that taskbar's insets did not account for previously. This change adds in the cutout's height as a bottom inset (if it is present) to avoid a black bar being drawn in the taskbar area.
Fix: 322954760
Test: Open a full screen app on a large screen device and ensure that a black bar doesn't show up when rotating the screen to 90 degrees and 180 degrees.
Flag: N/A
Change-Id: I876274b561c7f0101554654ce758fc9c08180de7
2024-02-13 23:00:21 +00:00
Saumya Prakash
e1c6312800
Merge "Update back gesture tutorial strings to align with UX" into main
2024-02-13 22:48:17 +00:00
Vadim Tryshev
dbaa758854
Doubling the wait time for activity creation in PortraitLandscapeRunner
...
Apparently, 10 sec is not sufficient, let's try 20.
Bug: 321772674
Test: presubmit
Flag: N/A
Change-Id: Iec67e4d0cf782d7d966566c305e8b73ee67d0f67
2024-02-13 13:50:15 -08:00
Willie Koomson
fda1b4b0d0
Merge "Use generated RemoteViews preview for widget picker if available" into main
2024-02-13 21:18:45 +00:00
Brandon Dayauon
6bebf0bb80
Fix FastScroller jumping in recyclerView
...
FastScrolling is jumping crazily when VerticalSnapPreference is set SNAP_TO_START, rather SNAP_TO_ANY may be better.
bug:321835976
Test manual video:
before: https://drive.google.com/file/d/1OOWESXjclndNgDklPq1BXR5HDehqJuPe/view?usp=sharing
after: https://drive.google.com/file/d/1O6wRx4H9R-Di-lPTOY7SwrsxrBPhXHo-/view?usp=sharing
Flag: n/a
Change-Id: I6974c842aa88f6bc7df1011c05eecfde7dad766c
2024-02-13 13:16:49 -08:00
Vadim Tryshev
00538c2a5a
Merge "Allowing the test to set additional anomaly checker for TAPL" into main
2024-02-13 21:16:41 +00:00
Tracy Zhou
91546d401d
Do not add jank monitor for stash state change when the drag layer is not attached to the window
...
An alternative here is to use the root layer when NO_RECREATE flag is on. However, we do not have a reference to it here (shall we consider passing it in?)
Fixes: 325096498
Test: Need to verify
Change-Id: I1709bc88753a90547f7a61dc6e24cdaf489d19e0
2024-02-13 20:57:16 +00:00
Tracy Zhou
d6bd6ae769
Fix NavButtonLayoutFactoryTest setup to turn on enableTaskbarNavbarUnification
...
Fixes: 325084350
Test: run the unit test without guarding the flag, make sure it passes
Change-Id: If902aeb7e9f06bfa4fa2876995cb67e350839a91
2024-02-13 11:18:46 -08:00
Jakob Schneider
38e4471794
Merge "Version-2: Prioritize the session-provided icon & label for archived apps during unarchival in the iconCache." into main
2024-02-13 19:09:52 +00:00
Willie Koomson
fedc18e9a8
Use generated RemoteViews preview for widget picker if available
...
WidgetCell will use the generated RemoteViews preview to display
previews in the widget picker. It will fallback to current preview
methods if not available.
Introduces WidgetManagerHelper.loadGeneratedPreviews as a utility
function. WidgetManagerHelper is passed into the constructor of
WidgetItem to avoid calling
context.getSystemService(AppWidgetManager.class) for each widget.
Bug: 308041327
Test: atest Launcher3Tests:GeneratedPreviewTest
Flag: ACONFIG com.android.launcher3.enable_generated_previews DEVELOPMENT
Change-Id: I37429057cda83a5321884ace2537038e050b9a58
2024-02-13 18:49:44 +00:00
Anna Zhuravleva
f843af4084
Merge "Update icon for install to private shortcut" into main
2024-02-13 18:00:29 +00:00
Mady Mellor
9a1fb27508
Merge "Follow changes for MagneticTarget.Listener to pass the dragged object" into main
2024-02-13 17:47:30 +00:00
Anna Zhuravleva
0190ea3ea7
Merge "Grant access hidden profile permission to Launcher3" into main
2024-02-13 17:07:43 +00:00
Charlie Anderson
e5b1215a2a
Merge "Add additional unit tests for WorkspaceItemProcessor to cover shortcuts and folders. Also cleanup the test suite." into main
2024-02-13 16:51:45 +00:00
Schneider Victor-tulias
7bfd3ef9a0
Update KQS empty message text/icon colors
...
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 324902935
Test: opened KQS with 0 recent apps
Change-Id: I1aed3293d76c0f3abbf6e5e0d646531739eac3f8
2024-02-13 10:40:16 -05:00
Alex Chau
4e6e1555c4
Refactored StateManager logs
...
- Make the log permanaent behind a DEBUG flag
- Logs are currently enabled with b/279059025 marked as the related bug
Bug: 279059025
Flag: None
Test: Manual
Change-Id: I60a75d73d40d00e7d42292f3d42cc9dd8c9b0825
2024-02-13 15:35:15 +00:00
Charlie Anderson
887f49e231
Add additional unit tests for WorkspaceItemProcessor to cover shortcuts and folders. Also cleanup the test suite.
...
Bug: 294386159
Test: unit tests and presubmit
Flag: N/A
Change-Id: I33370f2a060d1e07fc7dbd37cc9a883501344551
2024-02-13 10:05:32 -05:00
Jordan Silva
3a42f0e0eb
Merge "Log split button visibility to debug spacing issue" into main
2024-02-13 11:44:11 +00:00
Alex Chau
fba34d89e4
Merge "In bindAllApplications, only switch to NORMAL while in ALL_APPS" into main
2024-02-13 11:37:50 +00:00
Vinit Nayak
8ca8368730
Merge "Set debug logging flag for ClockDrawableWrapper" into main
2024-02-13 06:08:57 +00:00
Tracy Zhou
92f9d10cea
Merge "Hide task bar when folding before the new config renders the correct task bar" into main
2024-02-13 03:52:03 +00:00
Tracy Zhou
dfb334f1e1
Hide task bar when folding before the new config renders the correct task bar
...
Currently on folding, onConfigurationChange doesn't return about 0.5sec after the small screen turns on. The old bar is visible on the new screen before a visual jump from rendering the new bar.
While the ideal solution is to figure out what causes the delay, we can mitigate the visual jump by dimming the old bar when folded listener returns folded
Test: repeatedly fold and unfold, observe that there is no glare task bar change in task bar area after folding
Bug: 291562764
Change-Id: Ic6834d2d3b7df01a8ef841dde601cdb6a3e481b0
2024-02-12 17:06:04 -08:00
fbaron
0c12987627
Add screenrecord for testAllAppsFromHome()
...
Bug: 322228038
Test: TaplOpenCloseAllAppsTest
Flag: NONE
Change-Id: I3bcb13c1256df8d0029dfe32d21e95d6b4183037
2024-02-12 16:35:49 -08:00