Vinit Nayak
d9fd3f2e58
Merge "Dismiss split select when tapping on home button" into udc-qpr-dev am: 64f3766ba7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23986000
Change-Id: I6728ffc217017fad591b0ada439b4587197d6352
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 23:28:35 +00:00
Schneider Victor-tulias
dbfaef52f8
Merge "Add debug tracing Launcher's lifecycle callbacks" into udc-qpr-dev am: 19c22c20b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23918985
Change-Id: I9202aada056b4b3cdf4561ddc3815d6a415b1167
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 23:27:40 +00:00
Android Build Coastguard Worker
c035462083
Snap for 10477539 from f69ebc04b0 to udc-qpr1-release
...
Change-Id: Iaa963e08c36dbede4ee2530f9b57173849d26f65
2023-07-11 23:18:55 +00:00
Vinit Nayak
64f3766ba7
Merge "Dismiss split select when tapping on home button" into udc-qpr-dev
2023-07-11 23:06:47 +00:00
Brian Isganitis
e9eacb38fa
Cleanup raw usage of AllAppsStore.
...
Test: Compiles
Bug: 287523421
Flag: No
Change-Id: I35cdb1b281f251b74305129b583f29cdb29e15a6
2023-07-11 18:41:45 -04:00
Schneider Victor-tulias
19c22c20b2
Merge "Add debug tracing Launcher's lifecycle callbacks" into udc-qpr-dev
2023-07-11 22:35:53 +00:00
Mady Mellor
c299ad645a
Show / hide the "update" dot on bubbles in bubble bar
...
Updates BubbleView to include logic to render the update dot on a
bubble. This only shows for BubbleBarBubbles, not the overflow.
We only show the dot (and the badge) when:
- the bubble has new content / appropriate flags set
- AND the bubbles are expanded
OR on the first bubble when bubbles are collapsed
- AND when the flyout is not animating (this bit doesn't exist yet)
If a bubble has a dot and is opened, the dot will animate away.
To do this, we update the flags set on a bubble.
The flag needs to be set on WMShell side as well as Launcher side.
When a bubble is shown by WMShell, it automatically updates the flag.
This CL adds code to update the flag on Launcher side when we call
into WMShell to show the bubble.
Test: manual
Bug: 269670235
Change-Id: I32f652effa9a73c567981aa5a2a5864e9c3c0c66
2023-07-11 15:09:29 -07:00
Liran Binyamin
05ef774e6e
Don't show the bubble bar when it is empty
...
Sometimes the bubble bar shows when the launcher process starts up
even when there are no bubbles.
bubblesShowingOnHome is set to true when the launcher transitions into
Home, but that state also triggers a call to showBubbleBar() which will
eventually set the visibility on the bar.
During initialization we also call setHiddenForNoBubbles to hide the bubble
bar if it's empty, but these events happen separately so the bar may or
may not be hidden.
This change avoids calling showBubbleBar when setBubblesShowingOnHome is
called and the bar is invisible. Instead the bubble bar will become visible
once bubbles are added.
Fixes: 290608658
Test: manual
- Toggle bubbles off and back on in settings
- Restart launcher
- Observe the bubble bar is not displayed
Change-Id: I30640764d7b6eae64e1c5b5c687760465bf9a7b1
2023-07-11 17:12:00 -04:00
Mady Mellor
d4394e5bd5
Merge "Unify calls to sysuiProxy#showBubble into one method" into udc-qpr-dev am: 3e952e034c am: ecf080eb5c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24010037
Change-Id: Ib2637a8fbf6303f9ce423e218048b98965190ac0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 21:09:16 +00:00
Liran Binyamin
1c03ed001d
Pass bubble bar offsets instead of position to WMShell
...
This allows WMShell to calculate the position of the expanded view
correctly when the bubble bar is being expanded from stashed.
Test: See ag/24012908
Change-Id: I7b917e761c827135942d918917c920b06650f496
2023-07-11 17:08:09 -04:00
Brian Isganitis
32c8f4179f
Merge "Revert "Revert "Provide AllApps item OnLongClickListener through ActivityContext.""" into udc-qpr-dev am: 1a50287c08 am: 8d3ea8eeb5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024243
Change-Id: Ia7a8640c6f14742160959d40547c89ed8b6369cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 21:07:22 +00:00
Jordan Silva
20d23f473a
Add function to update SysUiScrim duration for tests
...
A new function was added to update the animation duration to 0 for testing.
Fix: 288392860
Test: HomeScreenFolderImageTest
Test: ResponsiveHomeScreenFolderImageTest
Flag: N/A
Change-Id: If0c9c169eb3339ae2940c88c57d69728ee844f71
2023-07-11 20:57:15 +00:00
Mady Mellor
1812924a53
Handle any image / label changes for bubble updates in bubble bar
...
When we get an update to a bubble it could mean that there's a new
message OR that something about the visual representation changed.
This CL modifies BubbleBarController to handle any visual changes
that might have occurred to an updated bubble (e.g. bubble image
changed).
It does this by updating the bubbleInfo on the existing bubble.
Test: manual
Bug: 269670235
Change-Id: I03d2510aef335dafccb32d6adcd4c6adf8b3297d
2023-07-11 13:34:46 -07:00
Mady Mellor
ecf080eb5c
Merge "Unify calls to sysuiProxy#showBubble into one method" into udc-qpr-dev am: 3e952e034c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24010037
Change-Id: Id9470422fa6e14e59432ef859cde823b3f588aa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 20:28:39 +00:00
Brian Isganitis
8d3ea8eeb5
Merge "Revert "Revert "Provide AllApps item OnLongClickListener through ActivityContext.""" into udc-qpr-dev am: 1a50287c08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024243
Change-Id: I3a0e4e72548414078c673742ff1d3768cffc94ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 20:28:15 +00:00
Mady Mellor
3e952e034c
Merge "Unify calls to sysuiProxy#showBubble into one method" into udc-qpr-dev
2023-07-11 20:24:14 +00:00
Brian Isganitis
1a50287c08
Merge "Revert "Revert "Provide AllApps item OnLongClickListener through ActivityContext.""" into udc-qpr-dev
2023-07-11 19:39:07 +00:00
Treehugger Robot
c3b6f76ef9
Merge "Adding flag for use of ParametrizeReorderAlgorithm" into udc-qpr-dev am: f69ebc04b0 am: 936e69c79c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23863309
Change-Id: Idc631225e2af87bbd512bef8914aefbded23b9d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 18:33:25 +00:00
Treehugger Robot
936e69c79c
Merge "Adding flag for use of ParametrizeReorderAlgorithm" into udc-qpr-dev am: f69ebc04b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23863309
Change-Id: I6816ceb78312ba3023f24d0a2824aadfbaacefbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 17:55:14 +00:00
Brian Isganitis
f54c6fa4b4
Revert "Revert "Provide AllApps item OnLongClickListener through ActivityContext.""
...
This reverts commit 853a5b9e0c .
Fixes SecondaryDisplayLauncher class by using lambda instead of method
reference for #getAllAppsItemLongClickListener. This change is necessary
because mDragLayer is late-init.
Test: Home Settings > Developer Options > Launch Secondary Display
Bug: 289261756
Flag: No
Change-Id: I7b83f81651dde360edea6ee7bea6cc82441e6bef
2023-07-11 13:21:47 -04:00
Treehugger Robot
f69ebc04b0
Merge "Adding flag for use of ParametrizeReorderAlgorithm" into udc-qpr-dev
2023-07-11 17:15:34 +00:00
Brandon Dayauon
7e3761614f
Make mDisplay DISPLAY_SEARCH_RESULT visible for test
...
bug: 278922113
Test: locally manually
Flag: n/a
Change-Id: I4c5dcecca66466f796f1fbdc25698da55e50f156
2023-07-11 14:20:14 +00:00
David Saff
69e4f72c4b
Merge "Revert "Provide AllApps item OnLongClickListener through ActivityContext."" into udc-qpr-dev am: aaf3094540 am: 20d1f741b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24017969
Change-Id: Icf176421f6f3ec05924ac3514c19499ab9c74c9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 13:48:39 +00:00
David Saff
20d1f741b9
Merge "Revert "Provide AllApps item OnLongClickListener through ActivityContext."" into udc-qpr-dev am: aaf3094540
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24017969
Change-Id: I1048ccfe13a8b888d5c3dd6384cb801623e1c7e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-11 13:12:21 +00:00
David Saff
aaf3094540
Merge "Revert "Provide AllApps item OnLongClickListener through ActivityContext."" into udc-qpr-dev
2023-07-11 12:32:36 +00:00
David Saff
853a5b9e0c
Revert "Provide AllApps item OnLongClickListener through ActivityContext."
...
This reverts commit 0acab2532d .
Reason for revert: b/290403189
Change-Id: Ie3f67f78a8ffce8c2d5a92f65a7e74d788c82a81
2023-07-11 10:45:33 +00:00
Arvind Kumar
384a0eddd3
Launcher3QuickStepGo should have one Default Activity
...
Since Launcher3QuickStepGo including quickstep/AndroidManifest-launcher.xml
manifest in LauncherGoResLib adding additional default activity
launcher3.uioverrides.QuickstepLauncher along with launcher3.Launcher3QuickStepGo.
Since we have two default activity, intent resolver trying to resolve the
action and showing popup to select home app.
This change add quickstep/AndroidManifest.xml for LauncherGoResLib which
does not have any default activity.
Bug: 288363376
Test: With this change we are not observing popup to select the home app.
Change-Id: I36827f85a51f8cd22934f4acb3abac9b3adf83a5
2023-07-11 08:42:50 +05:30
Android Build Coastguard Worker
24c9dcd812
Merge cherrypicks of ['googleplex-android-review.googlesource.com/23796565'] into udc-release.
...
Change-Id: Ib6a1e8efd02894eec3e2dcb8be68dd9371176e09
2023-07-11 00:40:47 +00:00
Schneider Victor-tulias
e0600c6bca
Handle onFlingFinished onRecentsAnimationStart
...
If the onRecentsAnimationStart callback runs after the user lifts their finger and onFlingFinished runs, then onFlingFinished never has another chance to run, leaving the user trapped in a state where the launcher is not started and the AllSetActivity is still present but invisible. Reverted to allow onFlingFinished to run onRecentsAnimationStart to handle this edge case.
Flag: not needed
Fixes: 285194839
Test: Ran AllSetActivty with a delay in onRecentsAnimationStart
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1b2c2e694c6e233057570d3e8b4e5a0aa9c0c51a )
Merged-In: I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1
Change-Id: I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1
2023-07-11 00:39:11 +00:00
Android Build Coastguard Worker
b59e5f6f68
Snap for 10468395 from 10b5a3903a to udc-qpr1-release
...
Change-Id: Ic805efaeed0577acf9d930eee0df0fe9dd59a55c
2023-07-10 23:24:10 +00:00
Andrew Cole
b234d8ec69
Merge "Removing screen record from test" into udc-qpr-dev am: 0b5cc64ec2 am: bbcb05a1b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23923164
Change-Id: I3c4ae82d1d2c5a519b448177042812ae16c09195
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 21:44:41 +00:00
Schneider Victor-tulias
c057b5ab89
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: ea547ecb4a -s ours am: a64b203a5d -s ours am: 38df243458 -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 ad2279a26e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I37a44bd5ca1bdd029e4ece5a30fe230c20eb95f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 21:43:22 +00:00
Schneider Victor-tulias
7c8601d315
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: abf59f658c -s ours am: 4b82e8ec49 -s ours am: b7068832e3 -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 1b2c2e694c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I4b996e3e0b63468a5f81e3228cf740e47a25cc6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 21:42:10 +00:00
Schneider Victor-tulias
e7ce5d3746
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: ea547ecb4a am: 5a96798f21 -s ours am: 6c78885e7c -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 ad2279a26e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I9f7abf315f42d199fdbcd136d70632b695eaa48c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 21:41:41 +00:00
Andrew Cole
bbcb05a1b4
Merge "Removing screen record from test" into udc-qpr-dev am: 0b5cc64ec2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23923164
Change-Id: I8574a87c8794984cd026cdc155812f94f1bda9e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 20:38:54 +00:00
Schneider Victor-tulias
38df243458
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: ea547ecb4a -s ours am: a64b203a5d -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 ad2279a26e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I648d17fc82f6229852c4e331efee5b729bedeef4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 20:38:43 +00:00
Mady Mellor
4e0ec1e458
Unify calls to sysuiProxy#showBubble into one method
...
This will make it easier to note that a bubble has been "visited"
so that we can hide the update dot (coming in future CL).
Test: manual
Bug: 269670235
Change-Id: Ie2dbbc478198ece65c05927295d3c3031a7be82e
2023-07-10 13:38:15 -07:00
Schneider Victor-tulias
b7068832e3
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: abf59f658c -s ours am: 4b82e8ec49 -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 1b2c2e694c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: Ie7504c4c85f8db2ff0a2dbfb63b14222f1ce1917
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 20:35:43 +00:00
Schneider Victor-tulias
6c78885e7c
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: ea547ecb4a am: 5a96798f21 -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 ad2279a26e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I7890ded66910eb422b99beca3f69e3d371226064
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 20:35:04 +00:00
Sebastian Franco
7ba948967c
Adding flag for use of ParametrizeReorderAlgorithm
...
Also, some cleaning of the comments.
Bug: 289420844
Test: compiling
Change-Id: I5dfb4b252755550059c3ee050bc491f5449bec97
2023-07-10 20:32:18 +00:00
Andrew Cole
0b5cc64ec2
Merge "Removing screen record from test" into udc-qpr-dev
2023-07-10 20:00:55 +00:00
Schneider Victor-tulias
3768529062
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: 6a86a11ade -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 ad2279a26e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: If5a1eeabeb3d56fa5d88b7269274d1bee2d93018
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 19:52:29 +00:00
Schneider Victor-tulias
a64b203a5d
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: ea547ecb4a -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 ad2279a26e is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I549d82879e920c2c24a3eb3bb0e586634a392933
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 19:52:11 +00:00
Schneider Victor-tulias
4b82e8ec49
[automerger skipped] Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: abf59f658c -s ours
...
am skip reason: Merged-In I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1 with SHA-1 1b2c2e694c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: Idfa75aebe42f19966639aed8efc9178fb3df057a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 19:51:56 +00:00
Schneider Victor-tulias
5a96798f21
Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496 am: ea547ecb4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I50091bfa0af884e3990c939af5e576fcab511bc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 19:49:36 +00:00
Schneider Victor-tulias
abf59f658c
Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I65672b6fdd803cd1f7d6ed069b3a254a2c85b8c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 19:08:49 +00:00
Schneider Victor-tulias
6a86a11ade
Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I93f964f879cf8de5148b256770991d102c86a22d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 19:08:36 +00:00
Schneider Victor-tulias
ea547ecb4a
Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev am: 3d1e78a496
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23796565
Change-Id: I9ecbc2efa905f1dd545a2b735fb020b378e5fd76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-10 19:08:35 +00:00
Schneider Victor-tulias
3d1e78a496
Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-dev
2023-07-10 18:33:25 +00:00
Vinit Nayak
f6c2e87747
Dismiss split select when tapping on home button
...
Bug: 276361926
Test: Initate split, dismiss whenever home is pressed,
doesn't dismiss when all apps dragged down
Flag: ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE
Change-Id: Idc95123e27963c3913d04c6eb27f0e4c9b1eb401
2023-07-10 11:06:42 -07:00