Charlie Anderson
65f1fc806c
Adds unit tests for AppWidgetsRestoredReceiver
...
- Makes slight adjustments (no behavior changes) to RestoreDbTask and its tests for proper separation
Test: ran unit tests
Bug: 294386159
Flag: none
Change-Id: I3d882f5edcb6a0161a203ef46a5258e9c4ffe18e
2023-10-23 14:21:50 -04:00
Brandon Dayauon
e7396c927b
Merge "ENABLE_TWOLINE_ALLAPPS to true" into main
2023-10-23 18:19:51 +00:00
Pat Manning
1eb8bd8735
Merge "Increase pinned taskbar height to fit tooltips." into main
2023-10-23 16:13:03 +00:00
Sebastián Franco
92d90b5ae7
Merge "Adding animation so the CellLayout is properly spaced on Foldables" into main
2023-10-23 16:06:13 +00:00
Jon @
b61dcac34e
Merge "Add HomeTransitionListener to launcher." into main
2023-10-23 15:56:36 +00:00
Jordan Silva
e5fb55cf88
Create a new test suite for screenshot tests
...
Adding a new test suite NexusLauncherScreenshotTests to run the screenshot tests separate from the Launcher tests.
Bug: 303224992
Flag: N/A - tests
Test: atest NexusLauncherScreenshotTests
Change-Id: Ie4c328b829402f23fc22876481d66fc414aede3c
2023-10-23 15:22:16 +00:00
Pat Manning
954e3b8dee
Move overview tests to quickstep package.
...
Fix: 305394234
Test: TaplOverviewIconAppChipMenuTest, TaplOverviewIconTest
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu DEVELOPMENT
Change-Id: Ib39e2ec7f53de0c4b557558776c7ad428e4cab22
2023-10-23 16:15:33 +01:00
Pat Manning
5643e7c047
Increase pinned taskbar height to fit tooltips.
...
Fix: 305706286
Flag: ACONFIG com.android.launcher3.enable_cursor_hover_states TRUNKFOOD
Test: TaskbarHoverToolTipControllerTest
Change-Id: I767947a752eae7a928d59fe332bc62b9fd5b5f37
2023-10-23 15:52:48 +01:00
Andreas Agvard
e3fbfaca73
Synchonizes touch slop across input consumers
...
This is done so that an outer input consumer isn't inside it's touch slop while an inner consumer has passed it's touch slop. An inner consumer cannot inform the outer consumers that it has intercepted in the current design.
Removes MotionEvent.CLASSIFICATION_AMBIGUOUS_GESTURE handling from NavHandleLongPressInputConsumer since other input consumers do not use this mechanism leading to misalligned touch slops.
OtherActivityInputConsumer now uses touch slop from the device configuration (it already did so for the squared touch slop).
Flag: LEGACY CUSTOM_LPNH_THRESHOLDS DISABLED
Bug: 305924072
Test: Manual
Change-Id: Idf5e88d75914255923fbbcfb602cf2a53773ff9a
2023-10-23 15:36:51 +02:00
Tracy Zhou
aa783da782
Do not show task bar edu in folded state with task bar / nav bar unification
...
Fixes: 306208742
Test: manual
Change-Id: I8321e9d41ea041f77cea3f140d92316c702ce531
2023-10-20 19:47:29 -07:00
Mateusz Cicheński
4d59d52d1e
Merge "Validate source rect hint for enter PIP in gesture nav" into main
2023-10-21 00:03:34 +00:00
Jon Miranda
00c3d78191
Add HomeTransitionListener to launcher.
...
Fixes: 279514548
Bug: 284474103
Bug: 306053414
Flag: LEGACY ENABLE_HOME_TRANSITION_LISTENER DISABLED
Test: App launch -> Hotseat -> Taskbar stashes
Transluscent app launch and launcher still visible -> No change
Going home -> Hotseat visible
Change-Id: I6db5253ada3e3b37dfae124f3ee88a9805804fb8
2023-10-20 15:46:11 -07:00
Sunny Goyal
e4900713b9
Merge "Remove RPC due to unnecessary permission check" into main
2023-10-20 21:48:36 +00:00
Sebastian Franco
9ea36d429c
Adding animation so the CellLayout is properly spaced on Foldables
...
Flag: LEGACY FOLDABLE_SINGLE_PAGE DISABLED
Fix: 294841331
Test: atest HomeScreenEditStateImageTest
Change-Id: I5dc94b63ca322748b952ce4bd55b6951d51d190f
2023-10-20 13:59:40 -07:00
Jagrut Desai
2e53885e86
Merge "Adding screen record TaplTestsQuickStep#testOverviewForTablet" into main
2023-10-20 20:23:16 +00:00
Beverly Tai
5619e9caf9
Merge "Aggressively unlocking phone while in presubmit" into main
2023-10-20 19:41:04 +00:00
Vadim Tryshev
8695855591
Aggressively unlocking phone while in presubmit
...
Bug: 303755862
Test: presubmit
Flag: N/A
Change-Id: I6c314c9a42b4e4935cbbfc0faaf7d788c1020697
2023-10-20 19:40:58 +00:00
Anushree Ganjam
f743e8a75c
Add arguments for flag_check.py.
...
Bug: 306262821
Test: Manual
Flag: NA
Change-Id: I0698fa1a21b116831414e05bda11de6eda4b8d00
2023-10-20 10:09:12 -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
Bill Yi
e98d49f10b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I2849700e0074a0028bb5a55b626cd1ecfccfdf6f
2023-10-20 02:19:45 -07:00
Bill Yi
f2a505643e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I17346de8bbf5a2e338380a9d4a21d3ca45f1f0c3
2023-10-20 02:19:17 -07: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
Jagrut Desai
caf5c815f3
Adding screen record TaplTestsQuickStep#testOverviewForTablet
...
Test: Presubmit
Bug: 306089019
Flag: NONE
Change-Id: I1e7474fe5f32e895859ca726fc63f40833ada118
2023-10-20 00:38:14 +00:00
Xin Li
21c49582ae
[automerger skipped] Merge 10952656 am: 6212824683 -s ours am: e2dbb59792 -s ours
...
am skip reason: Merged-In I027ebf7933332b48434144f9776fb8a29c783fb6 with SHA-1 9f3945cfff is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/25091647
Change-Id: I38138b60f05634091809f65a2b4d4519a8516bef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-19 23:54:26 +00:00
Mateusz Cicheński
d21cf61e86
Validate source rect hint for enter PIP in gesture nav
...
If the source rect hint is going outside of visible app bounds,
we should use icon overlay instead.
Test: before http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/fPfOfGUlrBkJ8WbJDqAr2i
Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/fMcHGqfpA5HCXYoAPV4vTT
Bug: 305090652
Flag: NA
Change-Id: I161f60bf62888c7922227e5d3185810dbe88e317
2023-10-19 23:45:37 +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
Jagrut Desai
34d135e21a
Merge "Always use Transient Taskbar All apps icon for taskbar pinning" into main
2023-10-19 20:03:14 +00: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
Xin Li
e2dbb59792
[automerger skipped] Merge 10952656 am: 6212824683 -s ours
...
am skip reason: Merged-In I027ebf7933332b48434144f9776fb8a29c783fb6 with SHA-1 9f3945cfff is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/25091647
Change-Id: I7d9b466da12f3d12a9ba543dfce92d31e3e4b807
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-19 18:47:41 +00:00
Liran Binyamin
78f444bdad
Adds content description to the overflow bubble.
...
Flag: LEGACY persist.wm.debug.bubble_bar DISABLED
Bug: 273994695
Test: SystemUIMicrobenchmark:android.platform.test.scenario.sysui.bubble.BubbleBarTest
Change-Id: Ie3fe451c69a39560aa91a6dfd4d615f172cf3299
2023-10-19 14:00:41 -04: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
Nicolò Mazzucato
3a412d0471
Merge "Instrument unfold animation on launcher" into main
2023-10-19 12:45:06 +00: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
Sunny Goyal
8bbd8d4c43
Remove RPC due to unnecessary permission check
...
Bug: 302400996
Test: Presubmit
Flag: N/A
Change-Id: I9c03e95f37e6e7be8a61ad6f5f7548b4860a1704
2023-10-18 10:52:17 -07:00
Pat Manning
131495745c
Merge "Add flag guarding around setText in TaskView." into main
2023-10-18 17:38:47 +00:00
Nicolo' Mazzucato
28ee5d441e
Instrument unfold animation on launcher
...
Test: inspected perfetto traces
Bug: 294043453
Bug: 303438877
Flag: not needed
Change-Id: Iec6fe1cbbfdc68adc49c332c15add1333fed7590
2023-10-18 16:37:34 +00:00
Randy Pfohl
8fb1d8f295
Merge "Removing obselete logging used for flaky test investigation" into main
2023-10-18 16:33:06 +00:00
Pat Manning
04dcce8333
Add flag guarding around setText in TaskView.
...
Bug: 303266975
Test: Forrest runs & Crystalball performance metrics.
Flag: enableOverviewIconMenu
Change-Id: I79e325f9d3377bc078634232c53fd3587d05acc4
2023-10-18 17:13:28 +01: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
Andreas Agvard
6a9f888201
Update LPNH detection
...
Replaces GestureDetector usage in LPNH handler with internal implementation that we can tweak
in follow up CLs. It's also a pre-requisite for doing a hint haptic.
Flag: CUSTOM_LPNH_THRESHOLDS
Bug: 300219375
Test: Manual
Change-Id: I5a010d8828bf400e9151236554b29f60edba044c
2023-10-18 09:33:51 +02:00
Android Build Coastguard Worker
307d65beee
Merge cherrypicks of ['googleplex-android-review.googlesource.com/25086887'] into udc-qpr1-release.
...
Change-Id: I8b641f9a2592b2e3eeee9c4a500c518fb7069984
2023-10-18 01:56:48 +00:00
Alex Chau
fb2f4b1a6f
Avoid drawing live tile behind recents when launching on grid overview
...
Fix: 304911154
Flag: none
Test: Swipe up in tablet, scroll to side, launch focused task
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1f5de2483bc9eb36128a7f700ca4539591afd186 )
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c44b3cdda9b8d51ec2142e65674617d34d9a5c9d )
Merged-In: I91dd8b4088f02af9dc5e603853d8e26606acc38f
Change-Id: I91dd8b4088f02af9dc5e603853d8e26606acc38f
2023-10-18 01:55:44 +00:00
Holly Jiuyu Sun
6b47dccd73
Merge "[PS] Add private space icon and strings." into main
2023-10-17 22:16:16 +00:00