Commit Graph
87505 Commits
Author SHA1 Message Date
Anushree Ganjam c7b561cec1 Merge "Verify the PrivateProfileManager.isEnabled() is called atleast once." into main 2024-05-10 23:30:27 +00:00
Anushree Ganjam 7ca0231aa4 Add 0-state web data loader logs
Bug: 328525875
Test: Manual
Flag: Aconfig com.google.android.apps.nexuslauncher.zero_state_web_data_loader DEVELOPMENT

Change-Id: I8492bade13962587f301c4bec461af291fa394d1
2024-05-10 16:05:48 -07:00
Charlie Anderson 024bf4627a Fix NPE for where intent.package is null but targetpkg is not.
- Also update WorkspaceItemProcessorTest with a new test and to use real intent instead of mock

Bug: 330250727
Test: unit tests
Flag: N/A
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ce255ff6fdf4688afd5318dc3027f03691c85bc4)
Merged-In: I77e17901f4754c301ca20b3c6f93bbe29bead59b
Change-Id: I77e17901f4754c301ca20b3c6f93bbe29bead59b
2024-05-10 23:03:47 +00:00
Treehugger Robot 4423758449 Merge "Revert "Add screenrecord for TaplPrivateSpaceTest#testPrivateContainerIsPresent"" into main 2024-05-10 22:51:13 +00:00
Fengjiang Li 1db1dfcb67 Do not use PackageManagerHelper created on boot for LoaderTask.
This CL partially reverts ag/26827295.

Re-using the PackageManagerHelper obj created earlier than LoaderTask obj will lead to the bug where private space user handle is not recognized. This is a temporary fix to create a separate PackageManagerHelper obj for LoaderTask. The real fix should be on framework side.

Also note that PackageManager service instance is now created much later in launcher lifecycle than before.

Fix: 338091143
Test: manual
Flag: NONE
Change-Id: Iab467fe8979aec52c5837c8fd676f821b2e3eb3c
2024-05-10 22:49:21 +00:00
Alex Chau 42af1f0725 Merge "Convert DesktopTaskView to Kotlin" into main 2024-05-10 21:32:52 +00:00
Saumya Prakash b8782e7341 Move the Done button in gesture navigation tutorial
To align with updated UX specs, this change moves the Done button in
each gesture's tutorial from the middle of the screen to the bottom
right.

Fix: 293285057
Test: Run through the gesture tutorial in all font/display sizes for
different form factors and check that the Done button after each step is
in the new location.
Flag: LEGACY ENABLE_NEW_GESTURE_NAV_TUTORIAL ENABLED

Change-Id: I2f2a7be0bf365727cff030f827e539add8533c18
2024-05-10 21:18:36 +00:00
Andrew Cole 10149b6656 Always Return Adaptive Icon
As part of a cleanup for how we deal with legacy icons, we are consolidating our handling of how we wrap non-adaptive icons in an adaptive icon format. This requires adding a parameter to make these functions conform to their earlier specifications.

Bug: 318867282
Flag: None
Test: AllAppsSearchImageTest
Change-Id: I002c430646f8933c638b78a409c9766b6328838a
2024-05-10 14:04:23 -07:00
Brandon Dayauon d7dc05f851 Remove comment on workProfileTest
Work profile doesn't fail to create anymore. Can remove commented line

bug: 339884168
Test: presubmit
Flag: n/a
Change-Id: I1783bb35fac3dff1762af911b3cccddaec367b0c
2024-05-10 13:43:49 -07:00
Federico Baron 6619568efd Revert "Add screenrecord for TaplPrivateSpaceTest#testPrivateContainerIsPresent"
This reverts commit 4f836430a7.

Reason for revert: issue resolved

Change-Id: I7174e50c166358634626aa308edbd5987e5cc2fb
2024-05-10 20:43:32 +00:00
fbaron 3da10ff1d3 Fix bug where hotseat disappears am: 95df178e4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27299232

Change-Id: I3b5a60e37cff9f9a7a0eae95bb0f1d712ec1ef57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 20:41:40 +00:00
Vadim Tryshev 306fa566f9 Removing old workaround
Bug: 165029151
Test: presubmit
Flag: N/A
Change-Id: Id54344f0b0423caa4c23eb574f0764648f49e41a
2024-05-10 13:40:37 -07:00
Vadim Tryshev 840b44043f Merge "Cleaning up TestProtocol" into main 2024-05-10 20:37:02 +00:00
Anushree Ganjam cf0aa11122 Verify the PrivateProfileManager.isEnabled() is called atleast once.
Bug: 339847768
Test: Manual
Flag: NA, Test
Change-Id: Ib99299c86a5accd0f98b39ae012a25e5991e26d5
2024-05-10 13:10:13 -07:00
Brandon Dayauon 892b96f319 Add private_space_floating_mask_view flag.
bug: 339850589
Test: In follow up CL
Flag: ACONFIG com.android.launcher3.private_space_floating_mask_view DEVELOPMENT
Change-Id: Idc03b9d3439046e6a1397599b33c7af9f53b1333
2024-05-10 12:43:45 -07:00
Brandon Dayauon a1b3c39bbd Update private space corners to 28dp
bug: 339876216
Test: manually
Flag: None
Change-Id: I1ce8ac2f128de3a614c74db0db59ce451dc7ed6e
2024-05-10 12:41:22 -07:00
Hyunyoung Song 2ee174e696 Merge "Run test in postsubmit for openPrivateSpaceSettings_triggerCorrectintent Bug:339109319 Test: not needed as disabling test in presubmit Flag: NA" into main 2024-05-10 19:28:13 +00:00
Vadim Tryshev c63c0f7f47 Reformatting a comment.
"b/197780098" can be mistaken for an indication that the code is
temporary and requires cleanup.

This is not the case here, so reformatting the code so that the query
searching for cleanup candidates doesn't see it.

Bug: 197780098
Test: presubmit
Flag: N/A
Change-Id: I076267dc8878763632b52d3449cb20cac331ed04
2024-05-10 12:27:39 -07:00
Federico Baron 9d98dc3b15 Revert "Add screenrecord for testAllAppsFromHome()"
This reverts commit 0c12987627.

Reason for revert: test is now passing

Change-Id: Ieafbe225e722d1c1436ef3c4383a3f11ca9ef009
2024-05-10 18:31:48 +00:00
Brandon Dayauon deb2e2c35e Make all apps text focusable by accessibility.
From b/330638194, the requirement is that
1. "all apps" can be focusable with talkback
2. "all apps" text is persisted when in accessibility mode.

Merged-In:Ibabb92bd9d202221fdc9cfacb585755167898187
bug:330638194
Test: manual video: https://drive.google.com/file/d/1QI_F4dUijfnU2ahE2Mg6yrmRJfOVyuVJ/view?usp=sharing
Flag: None

Change-Id: Ibabb92bd9d202221fdc9cfacb585755167898187
2024-05-10 18:19:27 +00:00
Vadim Tryshev 575d15f231 Cleaning up TestProtocol
Bug: 262282528, 279059025, 322823209
Test: presubmit
Flag: N/A
Change-Id: I9af6e3f1fc49b2ebf0d99df8c4514de0bddee8f2
2024-05-10 11:03:24 -07:00
Charlie Anderson 0171058c0f Merge "add more logging around package updates and widget click handling in Launcher" into main 2024-05-10 17:19:06 +00:00
Helen Cheuk 399638ac23 Merge "Add focus outline to AppPairIcon" into main 2024-05-10 16:46:09 +00:00
Michał Brzeziński b839430047 Merge "Rename gesture_blocking_activities to back_gesture_blocking_activities" into main 2024-05-10 16:32:51 +00:00
fbaron 95df178e4f Fix bug where hotseat disappears
Fix: 336096469
Bug: 339700174
Flag: NONE
Test: n/a
Change-Id: Ie567c08445d7743281f501c782a8fd51a75ad9bc
(cherry picked from commit cf10603ed3)
2024-05-10 15:44:57 +00:00
Alex Chau a88d3beed7 Convert DesktopTaskView to Kotlin
Bug: 339787593
Test: Manual
Flag: None
Change-Id: I94ee4675c11ef64c12b0e3278d4af367b764375e
2024-05-10 16:11:52 +01:00
Shamali Patwa 26d55c2a7e Merge "Fix NPE in WidgetsTwoPaneSheet" into main 2024-05-10 14:28:00 +00:00
Charlie Anderson 5fa4f02c70 add more logging around package updates and widget click handling in Launcher
Bug: 336976070
Test: locally verified
Flag: N/A

Change-Id: I8a1204fb6d96eccbc20b0ddd3c1e6fb1ae75fc6c
2024-05-10 10:00:51 -04:00
Treehugger Robot a8c1628d6e Merge "Fix bug where hotseat disappears" into main 2024-05-10 08:47:33 +00:00
hyunyoungs aa0633b508 Remove COLLECT_SEARCH_HISTORY
Bug: 270391455
Test: compiles
Flag: LEGACY COLLECT_SEARCH_HISTORY DISABLED
Change-Id: If250dc6548e5572dbb34e5b7afdc50a5fa09d9af
2024-05-10 01:40:49 -07:00
Jordan Demeulenaere 3af63d8504 Merge "Delay TransitionAnimator.onAnimationEnd by one frame (2/4)" into main 2024-05-10 07:36:34 +00:00
hyunyoungs 380014f131 Run test in postsubmit for openPrivateSpaceSettings_triggerCorrectintent
Bug:339109319
Test: not needed as disabling test in presubmit
Flag: NA

Change-Id: Idf106f30d9f4de949385545566345913dc551920
2024-05-09 23:42:08 -07:00
Winson Chung 36f38cb028 Merge "Add multi-instance state to item infos" into main 2024-05-10 04:16:38 +00:00
Willie Koomson 2b73f89b14 Fix NPE in WidgetsTwoPaneSheet
Check if mSelectedHeader is null.

Bug: 27214675
Test: build
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD
Change-Id: I640ac0b46846b94655414788177fcc1fa52fcee8
2024-05-10 00:52:31 +00:00
Android Build Coastguard Worker 3b91b08a1c Snap for 11822896 from 8b0469b096 to 24Q3-release
Change-Id: I6c1641f22ba081857db9af1e337009afe8d9b88a
2024-05-09 23:26:35 +00:00
Ats Jenk 8ed5d288d2 Merge "Get display size from DisplayController instance" into main 2024-05-09 22:58:38 +00:00
fbaron cf10603ed3 Fix bug where hotseat disappears
Fix: 336096469
Bug: 339700174
Flag: NONE
Test: n/a
Change-Id: Ie567c08445d7743281f501c782a8fd51a75ad9bc
2024-05-09 15:44:57 -07:00
Holly Jiuyu Sun 9ae3b91c44 Merge "[PS] Add TAPL test for tile injection." into main 2024-05-09 22:38:01 +00:00
Jon Miranda c7e5813d97 Update alpha animation for All Apps / Divider icon.
This prevents the icons from lingering as the spring settles for the scaling reveal
home animation.

Bug: 298089923
Test: go from app to home, from overview to home, vice versa
Flag: ACONFIG com.android.launcher3.enable_scaling_reveal_home_animation DISABLED
Change-Id: I6bc3f0fcbdc63f0c064d425c8ebaf62a20451ac1
2024-05-09 13:34:46 -07:00
Ben Lin c305263a55 Update SystemUiProxy signature.
Bug: 199333223
Test: Build
Flag: None
Change-Id: I9b9f38b02e81735ed682558ad4bc7a55df5a987f
2024-05-09 13:32:00 -07:00
Anushree Ganjam 798340dc6d Merge "Hardcode the className instead of class.getSimpleName()." into main 2024-05-09 20:13:13 +00:00
Ats Jenk 5b650d0796 Merge "Update expanded view drop target size based on value from shell" into main 2024-05-09 20:06:10 +00:00
Willie Koomson 8b0469b096 Merge changes I2fd961c0,Id3d21f44 into main
* changes:
  Go to NORMAL state before adding widget with add button
  Retain add button on rotation for two-pane and bottom sheet
2024-05-09 19:04:15 +00:00
Winson Chung 94e8ad0731 Add multi-instance state to item infos
- Add legacy resource for supported multi-instance apps that
  matches the current SystemUI resource of the same name, and will
  be removed as apps migrate to the V manifest property to declare
  multi-instance support
- Load the multi-instance state from PackageManager when the db is
  first loaded or when packages are updated
- The multi-instance check is then used to determine if an app pair
  can be saved (ie. whether the action can be shown)

Bug: 323112914
Test: atest NexusLauncherTests

Change-Id: I565b4bee4ab5f7040910306b1fd60a4fc3bf9a1c
2024-05-09 18:43:38 +00:00
Sukesh Ram e514bac5e3 Merge "Remove Logs for TaplOverviewIconTest#testOverviewActionsMenu" into main 2024-05-09 18:26:31 +00:00
Tracy Zhou 7ad66e4741 Fix back button sometimes not showing up in the initial setup screen am: bd940cdcee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/27277373

Change-Id: I7f511dc812d1adbda13721b88ac20cc6dbac23a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 17:31:33 +00:00
Pat Manning 5f838c45c2 Unstash taskbar after timeout when cursor hovers bottom edge.
This prevents accidental triggering of Taskbar unstash with cursor when the user wants to click the handle to go home.

Fix: 338357087
Test: TaplTestsTransientTaskbar
Flag: com.android.launcher3.enable_cursor_hover_states
Change-Id: I76f3e31cb2588a0fae302278c847227e9548be8f
2024-05-09 16:10:30 +01:00
Michał Brzeziński 13025d7aca Rename gesture_blocking_activities to back_gesture_blocking_activities
This is to make it more clear that this is only for the back gesture.

Bug: 309928033
Flag: None, just renaming resource
Test: just renaming resource
Change-Id: Id48fada3bc3b6bc91b80337def3bddcdd40dde3c
2024-05-09 14:37:18 +00:00
Uwais Ashraf 2a2be5dfee Merge "Add corner rounding to TaskThumbnailView" into main 2024-05-09 09:44:30 +00:00
Tracy Zhou bd940cdcee Fix back button sometimes not showing up in the initial setup screen
A few things to note
- We use gesture nav layoutter because it's the mode in which we show back button rendered by IME. There might be other historical reasons but it is what it is.
- The back button isn't necessarily laid out correctly with this layoutter (currently we don't adjust anything in layoutButtons.

Fixes: 338876161
Test: Repeatedly get in setup mode, and make sure the back button is visible
Change-Id: I402273c2868f3f46a12b00918dab3f36fbe82204
(cherry picked from commit 9d602e684c)
2024-05-09 05:50:58 +00:00