Uwais Ashraf
b965427554
Revert "Fix the badge in badge (triple badging), by simply remov..."
...
Revert submission 24721954-cherrypick-removeBadgeInBadge-dia2ji7r7td
Reason for revert: Breaking tests
Reverted changes: /q/submissionid:24721954-cherrypick-removeBadgeInBadge-dia2ji7r7td
Change-Id: Ia78cbae76d52b52fdfdc258311712f44bd645f2e
2023-11-03 12:20:33 +00:00
Brandon Dayauon
f2b2202bd8
Fix the badge in badge (triple badging), by simply removing the user badge (FLAG_SKIP_USER_BADGE).
...
This is used in the bigIconRow where we remove the workBadge in the icon and put the icon after the title in BIG_ICON_ROW.
bug:276957152
Flag: n/a
Test: manual -
before: https://screenshot.googleplex.com/BXShenE2kGrZXtF
after: https://screenshot.googleplex.com/AVYxpDyJ7JGet8h
Change-Id: Icefb9c8192d9841c95c8f6d628026f336e0b7195
2023-10-23 11:33:31 -07:00
Pat Manning
4c27e8c6f0
Migrate cursor feature flag to trunk stable flag.
...
Fix: 300054410
Test: TaplTestsTransientTaskbar, TaplTestsQuickstep
Flag: enableCursorHoverStates
Change-Id: I5c320e0fd2bdd2ed39b00b62b1399e163c3384e7
2023-10-20 12:17:36 +01:00
Fengjiang Li
6bde22cdcd
Merge "Fix bug where we should not have changed when to log end of workspace binding in launche startup" into main
2023-10-20 03:16:15 +00:00
Sunny Goyal
1631e387d6
Merge "Fixing main process initialization code" into main
2023-10-19 22:10:43 +00:00
Andreas Agvard
257f431da2
Merge "Adds haptic build-up during LPNH behind feature flag" into main
2023-10-19 21:48:21 +00:00
Fengjiang Li
b739372438
Fix bug where we should not have changed when to log end of workspace binding in launche startup
...
In ag/25052869 we should only change when we end LAUNCHER_LATENCY_STARTUP_TOTAL_DURATION, but leave LAUNCHER_LATENCY_STARTUP_WORKSPACE_LOADER_SYNC/ASYNC unchanged.
Fix: 305243183
Test: lock screen, force stop launcher, verify COLD startup is logged before user unlocks screen
Flag: N/A
Change-Id: I206b7fcbe07fca99cdbcc3a53213550e6b8c7369
2023-10-19 13:52:35 -07:00
Fengjiang Li
063f14e5bc
Merge "If COLD startup occurs while launcher is backgrounded, do not wait until user goes to home to end startup session." into main
2023-10-19 19:51:46 +00:00
Andreas Agvard
d1674985d6
Adds haptic build-up during LPNH behind feature flag
...
Flag: Omnient flags + ENABLE_SEARCH_HAPTIC_HINT
Test: Manual
Bug: 303023676
Change-Id: Ic43d1f34a05622328add6727f36406ce75d5a115
2023-10-19 21:10:42 +02:00
Sebastián Franco
3c4e6dafde
Merge "Adding the avility to have a PreviewSurfaceRenderer per screendID" into main
2023-10-19 17:57:31 +00:00
Fengjiang Li
6dff0925c0
If COLD startup occurs while launcher is backgrounded, do not wait until user goes to home to end startup session.
...
Fix: 305243183
Test: lock screen, force stop launcher, verify COLD startup is logged before user unlocks screen
Flag: N/A
Change-Id: I2d93dc3346e1aec82555162c9bb868cc4ddb621b
2023-10-19 10:54:44 -07:00
Alex Chau
0e4e703215
Merge "Migrate ENABLE_OVERVIEW_ICON_MENU to aconfig flag" into main
2023-10-19 08:18:41 +00:00
Wei Sheng Shih
aa5b85628a
Merge "Separate rotationHint as different object of WindowBounds" into main
2023-10-19 01:53:16 +00:00
Sebastian Franco
1b1c917af5
Adding the avility to have a PreviewSurfaceRenderer per screendID
...
Flag: persist.wm.debug.wallpaper_multi_crop
Fix: 292152331
Test: Manual testing, make sure to turn on the flags by running this adb commands
adb shell setprop persist.wm.debug.wallpaper_multi_crop 1
adb shell device_config put customization_picker com.android.wallpaper.multi_crop_preview_ui_flag true
Change-Id: Iba9518e93c09f0f8304cbce4c3bee9f8753cd583
2023-10-18 13:35:38 -07:00
Sunny Goyal
79085dafd4
Fixing main process initialization code
...
Content Provider is no longer the 1st entry point for an app.
Moving it to a custom application class instead
Bug: 301442482
Test: Verified that the startup code gets called
Flag: N/A
Change-Id: Ibedcc7bfb0294acd9252e1d6a2a1294df32524e9
2023-10-18 11:53:29 -07:00
wilsonshih
ca129bc5ca
Separate rotationHint as different object of WindowBounds
...
Some WindowBounds object with different rotation would be ignore in
DisplayController#supportedBounds due to there already exists an object
with the same bounds.
Bug: 304284870
Test: open app then rotate tablet device to 90 or 270, close app and
monitor the closing target flying back to the expected position.
Flag: N/A
Change-Id: I97f070cfaf7c6243ae3cd95cb728f7041a3736d1
2023-10-18 07:35:10 +00:00
Holly Jiuyu Sun
0fadf743cc
Merge "[DMA] Add withFeature API in StatsLogManager." into main
2023-10-17 21:17:38 +00:00
Pat Manning
24cec69361
Revert "Revert "Combine icon app tests to allow overriding flag ..."
...
Revert submission 25032768-revert-25007147-tapl-flag-SBORVHYDTI
Reason for revert: Resubmitting for b/304470271
Reverted changes: /q/submissionid:25032768-revert-25007147-tapl-flag-SBORVHYDTI
Change-Id: Ib0bd13a5c2a366160b185a2c6409c607ed7525a1
2023-10-17 15:56:48 +00:00
Fengjiang Li
c4f9dd2c04
Merge "Double pre-inflate counts if work profile is enabled" into main
2023-10-16 21:36:52 +00:00
Sebastián Franco
879efc7b2a
Merge "Cleaning up some and removing unused calculations code in CellLayout" into main
2023-10-16 18:35:56 +00:00
Alex Chau
74e68c69e8
Merge "Use SandboxContext in AbstractDeviceProfileTest" into main
2023-10-16 09:41:59 +00:00
Sebastián Franco
c3a2919fd1
Merge "Moving getPagesToBindSynchronously to ModelCallbacks" into main
2023-10-13 23:49:02 +00:00
Sebastian Franco
69fd742a60
Moving getPagesToBindSynchronously to ModelCallbacks
...
Changes are part of go/launcher_SoR .
Bug: 301108526
Test: This is a no-op change, compiling should be the test
Change-Id: I5e57b73edfa23e9f12ea94c0f9c5005e2d8fccd2
2023-10-13 11:34:23 -07:00
Sebastian Franco
0dd5db84e4
Cleaning up some and removing unused calculations code in CellLayout
...
Using cellToRect and removing some calculation that where unnecesary
because the variable are later overwritten.
Fix: 194414754
Bug: 294841331
Test: ImageTest
Change-Id: I31e0527cbbea463a32a36a172185a41985ed0d57
2023-10-13 18:24:41 +00:00
Ats Jenk
a89365c2be
Merge "Use desktop mode flag for split logic" into main
2023-10-13 18:00:53 +00:00
Fengjiang Li
c83d96daea
Merge "Trace unlock animation progress" into main
2023-10-13 15:35:11 +00:00
Jeremy Sim
20410d25f9
Merge "Migrate ENABLE_APP_PAIRS flag to aconfig" into main
2023-10-13 05:22:36 +00:00
Ats Jenk
cd789874c3
Use desktop mode flag for split logic
...
Remove launcher specific split from desktop flag and use the desktop
windowing feature flag.
Bug: 305095670
Flag: persist.wm.debug.desktop_mode_2
Test: enable desktop mode flag, toggle split from a desktop task
Change-Id: I62b91de3deaa5bba3435faf3a268f5b58cda8276
2023-10-12 23:28:42 +00:00
Jeremy Sim
7dc3bdcd85
Migrate ENABLE_APP_PAIRS flag to aconfig
...
Fixes: 303323964
Flag: com.android.wm.shell.Flags.FLAG_ENABLE_APP_PAIRS
Test: Unit tests still run correctly
Change-Id: I617c699746492c9c0d131a28791d984afbbdda4d
2023-10-12 15:06:32 -07:00
Sunny Goyal
c173c04422
Generalize userproperties to support for more user types in iconCache
...
Bug: 305062259
Flag: None
Test: Presubmit
Change-Id: I35cd20a03520ada233809930fcc56cdea1dabec6
2023-10-12 21:25:59 +00:00
Sunny Goyal
4588031286
Merge "Moving onboarding prefs to use LauncherPrefs" into main
2023-10-12 20:51:45 +00:00
Tyler Freeman
22781d97d9
Merge "Revert "Combine icon app tests to allow overriding flag for new ..."" into main
2023-10-12 20:06:56 +00:00
Fengjiang Li
25b1675d21
Trace unlock animation progress
...
The unlock animation is subject to interruption from sysui. Adding trace would help us find root cause easier in the future.
Bug: 301903832
Test: grab perfetto trace and verify the unlock progress is shown
Change-Id: Iab0ca483beb01752b1dd67bd28f401d3e2e9cef7
2023-10-12 11:22:57 -07:00
Tyler Freeman
1468467706
Revert "Combine icon app tests to allow overriding flag for new ..."
...
Revert submission 25007147-tapl-flag
Reason for revert: Breaks build: https://b.corp.google.com/issues/305033049
Reverted changes: /q/submissionid:25007147-tapl-flag
Change-Id: I99b5883e64ae25476394a4207c5d6a4d22fc27dc
2023-10-12 18:04:05 +00:00
Jagrut Desai
a187ab0ec8
Merge "Adding test protocol support for getting num all apps columns" into main
2023-10-12 16:20:18 +00:00
Alex Chau
c78c53c22a
Migrate ENABLE_OVERVIEW_ICON_MENU to aconfig flag
...
Bug: 257951354
Change-Id: I47b1c1d422ce3c510ea22ea3e1feff0263ded177
2023-10-12 16:00:14 +00:00
Pat Manning
654c05837e
Merge "Combine icon app tests to allow overriding flag for new icon app chip menu testing as well." into main
2023-10-12 15:59:17 +00:00
Pat Manning
236e738907
Combine icon app tests to allow overriding flag for new icon app chip menu testing as well.
...
Platinum exlude cl update: cl/572225659
Test: TaplOverviewAppIconMenuTest
Test: TaplAppIconAppChipMenuTest
Bug: 303329286
Bug: 303266562
Fix: 304470271
Change-Id: I4ca163401d6a42961e8955e06c164af0254b1231
2023-10-12 14:53:08 +01:00
Alex Chau
1ce67a6122
Use SandboxContext in AbstractDeviceProfileTest
...
- Added a initializeForTesting method to SandboxContext
- Also made SandboxContext non-abstract, so it can be used in tests to inject mock MainThreadInitializedObject into the SandboxContext, this should avoid mocked MainThreadInitializedObject bled into another test
Test: presubmit
Flag: None
Bug: 303328913
Change-Id: I37157d81b08b80f1e90eacca7dc2ce482cd08aa4
2023-10-12 11:43:37 +01:00
Stefan Andonian
3925bdfdf8
Merge "Remove some direct usage of getDevicePrefs()" into main
2023-10-11 23:09:26 +00:00
Stefan Andonian
2171d09fe6
Remove some direct usage of getDevicePrefs()
...
Bug: 261635315
Test: Manually did testing on device.
Change-Id: I47c88bdc031d330f6efa573411ab5dbf154ec8a2
2023-10-11 23:06:41 +00:00
Schneider Victor-tulias
276420a869
Merge "Fix janky Alt+Tab through overview animation" into main
2023-10-11 18:28:10 +00:00
Alex Chau
6ae2c4d77d
Merge "Revert "Revert "Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag""" into main
2023-10-11 15:38:57 +00:00
Alex Chau
4989f4f36d
Revert "Revert "Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig flag""
...
This reverts commit 7b5472f986 .
Reason for revert: aconfig/SetFlagsRule actually works with TAPL tests (http://ag/c/platform/packages/apps/Launcher3/+/24991890/comment/8303a3c6_030ae00b/ )
Bug: 270397206
Change-Id: I7529a64c3197e4c2b4d5fb1e46fb29bdea1e52e9
2023-10-11 14:08:22 +00:00
Hyunyoung Song
e0a25fbd51
Merge "Add CUSTOM_LPNH_THRESHOLDS feature flag to customize LPNH" into main
2023-10-11 07:54:26 +00:00
Jagrut Desai
8e4077f8cd
Adding test protocol support for getting num all apps columns
...
Test: Presubmit
Bug: 303257279
Flag: not needed
Change-Id: I9c6299fb3ff077bc42ca22609d2ff0232377a370
2023-10-10 16:07:51 -07:00
Jeremy Sim
df55a762fe
Merge "App Pairs: Implement app pairs icon" into main
2023-10-10 19:15:20 +00:00
Sunny Goyal
cd44740567
Moving onboarding prefs to use LauncherPrefs
...
Bug: 301661768
Test: Presubmit
Flag: N/A
Change-Id: Iec8a5e739f394a152d5ffc57b01e0449e94b4084
2023-10-10 11:47:33 -07:00
Sunny Goyal
b834d6eca8
Merge "Removing some usage of shared prefs" into main
2023-10-10 18:44:15 +00:00
Federico Baron
e221945296
Merge "Add NullPointerException to try/catch since it's possible to have such an error" into main
2023-10-10 17:01:15 +00:00