Sunny Goyal
9dcf307a62
Merge "Fixing test flakiness in Launcher initialization" into main
2024-10-08 17:29:27 +00:00
Brian Isganitis
67ed920053
Merge changes from topic "brianji-object-sandbox" into main
...
* changes:
Add SandboxApplication for keeping created contexts in sandbox.
Allow specifying base for SandboxModelContext.
Rename to ObjectSandbox.
2024-10-08 16:33:47 +00:00
Sunny Goyal
b619d2c297
Removing dependency on PackageInfo in IconCache
...
Bug: 363324203
Flag: EXEMPT bugfix
Test: atest IconCacheTest
atest IconCacheUpdateHandler
Change-Id: I85005ef1069960a17a0f3e7265749a8ef3004172
2024-10-08 04:09:54 +00:00
Brian Isganitis
d04464ac39
Add SandboxApplication for keeping created contexts in sandbox.
...
Flag: TEST_ONLY
Bug: 230027385
Test: go/testedequals
Change-Id: I14c277325bd4b3b7cf59ed31dedad338bf1e4440
2024-10-07 16:50:59 -04:00
Brian Isganitis
4d6194f432
Allow specifying base for SandboxModelContext.
...
Flag: TEST_ONLY
Bug: 230027385
Test: go/testedequals
Change-Id: I2d6c90eda30cb80fd7124d35bab62b1af1b10902
2024-10-07 16:50:59 -04:00
Fengjiang Li
49df29669d
[Dagger] Make ScreenOnTracker provided by DaggerSingletonObject
...
Test: presubmit
Bug: 361850561
Flag: NONE - dagger
Change-Id: I305ee47f2da92972e9b5effe3c3e02504cd5a3b0
2024-10-07 11:45:16 -07:00
Sunny Goyal
95045ce03a
Fixing test flakiness in Launcher initialization
...
Using same key for blob store and content provider based layouts
Using a single key for layout provider. This ensures that if one
test doesn't cleanup properly, any followup test which relies on
model initialization overrides the key appropriately
Bug: 370080120
Test: Presubmit
Flag: EXEMPT bugfix
Change-Id: Idef0a89a5d1ec89e24aae8a4549fd122634dad2f
2024-10-04 20:52:17 +00:00
Jagrut Desai
831ca957c0
Merge "Remove unused TestProtocol" into main
2024-10-02 20:51:10 +00:00
Sunny Goyal
e14af2316b
Merge "Converting some caching logic booleans to lookup flags" into main
2024-10-02 20:34:16 +00:00
Treehugger Robot
3faec179c0
Merge "Add debug memory logs to AbstractLauncherUiTest" into main
2024-10-02 15:39:05 +00:00
Anushree Ganjam
0dc88fece8
Merge "Make InstallSessionHelper injected by Dagger (7/n)" into main
2024-10-02 01:57:48 +00:00
Anushree Ganjam
29e060408f
Make InstallSessionHelper injected by Dagger (7/n)
...
Bug: 361850561
Test: Manual
Flag: NONE Dagger Integration
Change-Id: Ib1833436bfd1079ae78f1d865831c1aa8a7a0c41
2024-10-01 12:45:53 -07:00
Schneider Victor-Tulias
63dfd60b23
Add debug memory logs to AbstractLauncherUiTest
...
Flag: EXEMPT test debug logs
Bug: 365628676
Test: TAPL tests
Change-Id: Ia019bc128b76b9b2d776c54ad93713ae4110b2de
2024-10-01 18:15:13 +00:00
Sunny Goyal
e978f6cedb
Converting some caching logic booleans to lookup flags
...
Bug: 366237794
Test: atest IconCacheTest
Flag: EXEMPT refactor
Change-Id: I0d25996181954df22e1cb61596be0a2694ee7068
2024-10-01 17:59:48 +00:00
Jagrut Desai
85a8898402
Remove unused TestProtocol
...
Test: Presubmit
Bug: 319501259
Flag: TEST_ONLY
Change-Id: Ibe261ec8820f5d6e8415f5085c21a0adfef37462
2024-10-01 09:24:38 -07:00
Treehugger Robot
0c1db56f2f
Merge "Requesting ApplicationInfo in cached object" into main
2024-09-28 00:08:58 +00:00
Mykola Podolian
410aa60a6c
Merge "Update device profile dumps for bubbles" into main
2024-09-27 23:38:22 +00:00
Treehugger Robot
947a932a33
Merge "Cleanup for TAPL Debugging" into main
2024-09-27 21:21:49 +00:00
Sunny Goyal
f7c32a29fd
Requesting ApplicationInfo in cached object
...
Bug: 363324203
Test: Presubmit
Flag: EXEMPT refactor
Change-Id: I92f3d3ed8c267b895dc439ba1f01eb67d7f63965
2024-09-27 14:04:16 -07:00
Federico Baron
bb4ae757f6
Update device profile dumps for bubbles
...
Test: DeviceProfileDumpTest
Bug: 346381754
Flag: com.android.wm.shell.enable_bubble_bar_in_persistent_task_bar
Change-Id: If68bb298bb81347f301cb268f8e43e207c2ac503
2024-09-27 20:46:00 +00:00
Sunny Goyal
63c24aeacb
Merge "Updating IconProvider API to use a single API to load icons" into main
2024-09-27 19:43:54 +00:00
Archisha Baranwal
10467a8cf3
Merge "Adding programmatic provision of WRITE_SECURE_SETTINGS permission to Launcher3Tests." into main
2024-09-27 08:35:45 +00:00
Archisha Baranwal
0d11c4a7ef
Adding programmatic provision of WRITE_SECURE_SETTINGS permission to
...
Launcher3Tests.
Bug: 361222449
Test: atest Launcher3Tests
Flag: EXEMPT test fixes
Change-Id: I4226c4c50047d71a99944fc4e5d70080d134c3d3
2024-09-27 05:53:59 +00:00
Sunny Goyal
a1cebfa0c0
Updating IconProvider API to use a single API to load icons
...
Bug: 366237794
Test: atest IconProviderTest
Flag: EXEMPT refactor, changes in underlying API
Change-Id: If8c6a4f13de7e7d262ee0b6d0c6897981f75e639
2024-09-26 22:13:11 -07:00
Sukesh Ram
e297bc0c0e
Cleanup for TAPL Debugging
...
Cleaning up leftover log statements.
Flag: EXEMPT bugfix
Bug: 326908466
Test: Manual
Change-Id: I01dadc884929a8946f408997ddbcbd0ac4c820ec
2024-09-26 19:44:55 +00:00
Charlie Anderson
24061ff74f
Merge "Update test activities with a non-default icon." into main
2024-09-26 19:16:41 +00:00
Sunny Goyal
984e2d7a5d
Merge "Fixing flakiness in robo tests" into main
2024-09-26 16:58:20 +00:00
Charlie Anderson
65c1010029
Update test activities with a non-default icon.
...
Check against default app icon in FolderIconLoadTest
Bug: 357441807
Bug: 369222239
Bug: 369240511
Flag: EXEMPT bc-triaged bugfix
Test: FolderIconLoadTest
Change-Id: I0e224f5b8bf8c0a8c51d88abd7c562d8e1ff7a55
2024-09-26 03:59:10 +00:00
Sunny Goyal
37182de670
Fixing flakiness in robo tests
...
Bug: 352288591
Flag: EXEMPT test fix
Test: Presubmit
Change-Id: I15dd91815f7ae4d3cf3c9e1fd4c2b5e07052ab3f
2024-09-25 10:52:14 -07:00
Treehugger Robot
9a77922424
Merge "Fix for bug where we don't use default grid on comet, and migrate normally if not in a B&R case" into main
2024-09-25 17:01:54 +00:00
fbaron
b633b9aa2b
Fix for bug where we don't use default grid on comet, and migrate normally if not in a B&R case
...
-The grid migration where we just copy the grid and move everything one row up should only occur in a B&R scenario, so now we add that restriction
-We should default to 4x5 in comet if migrating from a 4x4 grid if the device we're migrating from does not have any other grids saved
-if we have other grids saved, then we'll try using the saved grid if possible. If not possible, we use the default grid for the new device
Bug: 360462379
Test: GridSizeMigrationUtilTest
Flag: EXEMPT bugfix
Change-Id: Ia905081046431c08dc058bd61b2b4ab42dee0506
2024-09-24 16:52:05 -07:00
Sunny Goyal
e1b7ca566e
Merge "Moving various application into related methods to a separate class" into main
2024-09-24 22:05:52 +00:00
Schneider Victor-tulias
b3983db5e4
Merge "Update goToOverviewUnchecked to account for desktop task visiblity" into main
2024-09-24 19:31:43 +00:00
Randy Pfohl
31aefc3290
Merge changes from topic "windowRecents" into main
...
* changes:
Cleaning up unusued handlers
Moving RecentsWindowManager away from the singleton pattern
Limited recents in window introductory cl
abstracting fallback views to support container instead of activity
2024-09-24 16:13:30 +00:00
Schneider Victor-Tulias
38deee2508
Update goToOverviewUnchecked to account for desktop task visiblity
...
Flag: com.android.launcher3.enable_desktop_task_alpha_animation
Fixes: 367646122
Test: SwitchToOverviewFromDesktopTest#switchToOverview
Change-Id: I600dfcd8507d2e24f5bfccf78164b6eec3ec80b1
2024-09-24 10:47:38 -04:00
Sunny Goyal
28d6bbd6b4
Moving various application into related methods to a separate class
...
> This avoids duplicate RPCs when trying to get multiple properties
from AppInfo
> This would be used in a followup cl when AppInfo is added to caching
logic in IconCache
Bug: 366237794
Test: atest ApplicationInfoWrapperTest
Flag: EXEMPT refactor
Change-Id: I55b964d4f8cfa1ff1770e310ac278719495e285d
2024-09-23 22:09:24 -07:00
Sunny Goyal
f84b6edee7
Merge "Removing unnecessary package validation during grid migration" into main
2024-09-24 00:31:54 +00:00
Sunny Goyal
c3dd1c380f
Removing unnecessary package validation during grid migration
...
package validation happens during loader anyway. And using MATCH_INSTALLED
for checking cross user apps may not work all the time
Bug: 363324203
Test: atest GridSizeMigrationUtilTest
Flag: EXEMPT bug fix
Change-Id: Id36e8fdff132242705ef53c85dc6567fbde5d952
2024-09-23 15:16:37 -07:00
Jagrut Desai
d3460af469
Merge "Refctor DisplayController#handleInfoChange" into main
2024-09-23 19:43:02 +00:00
Jagrut Desai
94c9fb7cf5
Refctor DisplayController#handleInfoChange
...
Test: Presubmit
Bug: 369140181
Flag: EXEMPT refactor DisplayController#handleInfoChange
Change-Id: I196fe0e843a60c518d882c25f9fbdcd3cb775ba6
2024-09-23 09:58:30 -07:00
Vaibhav Devmurari
22754e8622
Merge "Fix NumberFormatException in LauncherTests" into main
2024-09-23 11:00:00 +00:00
randypfohl
c50aa8bf31
Limited recents in window introductory cl
...
Test: Built and tested locally
Flag: com.android.launcher3.enable_fallback_overview_in_window
Bug:292269949
Change-Id: I5352ba0b6c5bc196fbd1322d435a7e27e884f7b5
2024-09-20 16:09:50 -07:00
Treehugger Robot
f0123c9129
Merge "Reset taskbarModePreference on tearDown()" into main
2024-09-20 16:10:26 +00:00
Sunny Goyal
621918feda
Changing min-sdk version of Launcher to 31
...
Bug: 368071216
Flag: EXEMPT refactor -> dead code removal
Test: Presubmit
Change-Id: I1f0113c56de56f12f3a174eb31c3f8e8a09407e6
2024-09-20 06:00:10 +00:00
Toshiki Kikuchi
5cec59a41d
Reset taskbarModePreference on tearDown()
...
This CL forcefully resets taskbarModePreference on tearDown() to ensure
the following tests are not affected by the changes made by
`testTaskbarPinningChangeInLockedTaskbarChange`.
Bug: 368322666
Flag: EXEMPT bug fix
Test: nexus_unit_test_multi_device_platform
Change-Id: I8bd8e8ca8b4b832ed17e86fbdfc9bda7bf9ab16e
2024-09-20 00:47:18 +00:00
Vaibhav Devmurari
21f06911aa
Fix NumberFormatException in LauncherTests
...
If the key event flags contain 0x80000000 then it causes number
format exception during parsing to Integer
Bug: 358569822
Test: atest NexusLauncherTests
Flag: EXEMPT TEST_ONLY
Change-Id: I6371ab7b9d5d5e356d7199830543177daeda3eea
2024-09-19 13:17:50 +00:00
Sebastián Franco
dee300f77d
Merge "Removing screen record from TaplWorkProfileTest" into main
2024-09-19 01:44:36 +00:00
Toshiki Kikuchi
6ddfe9b179
Allow to show pinned taskbar when Launcher is visible
...
This CL allows freeform-first devices to lock the taskbar in a pinned
state when Launcher is visible.
Bug: 361419732
Flag: com.android.window.flags.enter_desktop_by_default_on_freeform_displays
Test: DisplayControllerTest
Test: manual
Change-Id: Ic0d2740e33fee19c676d88aa2bcf370eb64366e8
2024-09-18 10:49:52 +00:00
Treehugger Robot
d60904d573
Merge "Add perfetto traces to LauncherInstrumentation" into main
2024-09-17 17:12:21 +00:00
Treehugger Robot
545440327d
Merge "Update out-of-date TODO comment" into main
2024-09-17 16:25:49 +00:00