Sam Dubey
f9042d32ae
Revert "Removing AM.getTasks call on UI thread during touch down"
...
This reverts commit 013a8a75ab .
Reason for revert: Broke builds
Bug: 229619753
Change-Id: Idb1aecf1d43db50aa4f11dbb88079c37e401d694
2022-04-18 16:47:24 +00:00
Sunny Goyal
013a8a75ab
Removing AM.getTasks call on UI thread during touch down
...
We maintain a cached task queue using TaskStackChangeListener.
It keeps the top RunningTaskInfo partially in sync with platfrom:
taskInfo is only initialized when the top task changes
but not when there are changes within the task itself.
Bug: 214581894
Bug: 220742398
Test: Manual and presubmit
Change-Id: Ifafde574040c03435b78f044350c45f3b49c4bcb
2022-04-14 14:02:28 -07:00
TreeHugger Robot
998c47e594
Merge "Prevent double selection of second split app" into tm-dev
2022-04-14 20:13:59 +00:00
Sunny Goyal
bc25ec02a2
Merge "Updating code due to TaskStackChangeListener changes" into tm-dev
2022-04-14 20:11:58 +00:00
Sihua Ma
af91920955
Merge "Showing alert dialog when shortcut version higher than the App" into tm-dev
2022-04-14 18:26:10 +00:00
Vinit Nayak
a4e5a9eebe
Prevent double selection of second split app
...
* Also fix small other bug where we were
checking only for LauncherState
OVERVIEW_SPLIT_SELECT and not for equivalent
3P RecentsState
Fixes: 227419997
Test: Repro steps don't cause bug. Yay.
Change-Id: Ibb8238185b959d22d8455b6812d29b2e268d9739
2022-04-14 11:06:47 -07:00
Jonathan Scott
ad90ded7bc
Merge "fix broken build on erorrprone" into tm-dev
2022-04-14 18:00:10 +00:00
TreeHugger Robot
f78ff2b90d
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev
2022-04-14 17:10:53 +00:00
Bill Yi
856629cc58
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 66a79956b3 -s ours am: 0ea47ea8df -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17716017
Change-Id: Iab1c5d65c2d715131b59d7d9e0035b3e8611ebc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-14 15:34:42 +00:00
Bill Yi
f45361b8b0
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6f41d53de9 -s ours am: ccac214bba -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17716400
Change-Id: Ic5c813ed4ef4a809b6c01df521af958663fb8e12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-14 15:34:05 +00:00
Bill Yi
63a5f2eb4b
[automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 8c619a2b52 am: af25e91b3a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17716017
Change-Id: Id15aa605ea24fe6c224c712220be1fd3ec16dd13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-14 15:32:09 +00:00
Bill Yi
0ea47ea8df
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 66a79956b3 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17716017
Change-Id: I28915d11b6d4afe8b1d7e0581eea48bd632fa0d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-14 15:16:10 +00:00
Bill Yi
ccac214bba
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6f41d53de9 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17716400
Change-Id: I4dd1b47bae4de86e4d5c5d04048599ca0401710b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-04-14 15:16:02 +00:00
Bill Yi
66a79956b3
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2022-04-14 15:14:26 +00:00
Bill Yi
614046bd46
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev
2022-04-14 15:06:26 +00:00
TreeHugger Robot
7ea312db9b
Merge "Creaet separate pull back animation for AllApps" into tm-dev
2022-04-14 14:07:58 +00:00
kholoud mohamed
9db305478e
fix broken build on erorrprone
...
Bug: 229190745
Test: m -j out/soong/.intermediates/packages/apps/Launcher3/Launcher3/android_common/lint/lint-baseline.xml
Change-Id: I8fc801b0051a7e14578fa331b22653f109c1dcc6
2022-04-14 14:18:30 +01:00
TreeHugger Robot
5ee9d60fd0
Merge "Update edit state drop target and hotsteat margins." into tm-dev
2022-04-14 11:58:32 +00:00
TreeHugger Robot
bf5a0d5fe3
Merge "Use bottomMargin to align OverviewActions with 3 button" into tm-dev
2022-04-14 10:56:43 +00:00
Alex Chau
a74a8595fb
Creaet separate pull back animation for AllApps
...
- In tablet, only animate recyclerView on pullback to be consistent with widget bottom sheet, and avoid showing a gap below mAppsView
Fix: 220345008
Test: manual on small and large screen
Change-Id: I1f7d03b6bd16af7a91a51a0985ef163d9e365261
2022-04-14 11:01:25 +01:00
Sihua Ma
da8759ae29
Showing alert dialog when shortcut version higher than the App
...
Creating an AlertDialog when the disabled reason of the shortcut is DISABLED_REASON_VERSION_LOWER, which happens when the backed-up shortcut was created from an application that has a version higher than the one installed on the device. The AlertDialog will direct the user to the play store and update the application.
Test: Manual
Fix: 224796975
Change-Id: I0125fada60b48176775de6782ba03ee6790904aa
2022-04-14 01:34:44 -07:00
TreeHugger Robot
d07ba1ca38
Merge "Dismiss keyboard when leaving AllApps state" into tm-dev
2022-04-14 04:15:19 +00:00
Vinit Nayak
37ce441089
Merge "Listen for density changes through DisplayController callbacks" into tm-dev
2022-04-13 22:57:00 +00:00
Alex Chau
b1508b8023
Use bottomMargin to align OverviewActions with 3 button
...
- This ensure the updated OverviewActions position is considered when calculating modal task size
Fix: 228976149
Test: manual
Change-Id: I635e00096fdb26c164bc76fc94f6bf203f5c9c71
2022-04-13 18:51:40 +01:00
Alex Chau
59120581e4
Dismiss keyboard when leaving AllApps state
...
Fix: 221024791
Test: Launcher3 dismiss keyboard when leaving AllApps
Test: NexusLauncher can still open keyboard automatically in AllApps
Change-Id: I61b50e3fc4c6ed83bd5234c5daef3b2cb428b520
2022-04-13 18:48:23 +01:00
Hongwei Wang
d34d3b4834
Merge "Pass sourceRectHint to auto-enter-pip transition" into tm-dev
2022-04-13 17:38:34 +00:00
Sunny Goyal
afb6e23500
Updating code due to TaskStackChangeListener changes
...
Bug: 221961069
Test: Presubmit
Change-Id: I40b2e5a12c4cd6faa53ee788939c31b25bf5c37b
2022-04-13 10:31:18 -07:00
András Klöczl
fed1182660
Merge "Change page snapping logic for large screen devices" into tm-dev
2022-04-13 11:18:39 +00:00
Pat Manning
8c4dd9e6dc
Update edit state drop target and hotsteat margins.
...
Bug: 227336507
Test: manual
Change-Id: Id47f312e00d86143e6c95d21d6e37b7196590cef
2022-04-13 12:04:08 +01:00
Shikha Malhotra
80a315e50f
Merge "Review comments followup" into tm-dev
2022-04-13 08:00:31 +00:00
TreeHugger Robot
d9939d8174
Merge "Adjust the insets frame providing method per API change" into tm-dev
2022-04-13 01:53:04 +00:00
Bill Yi
1d313372fe
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ifc067459518e15838a8a472234a26eb7b2214ebd
2022-04-12 21:25:52 +00:00
Bill Yi
05e2272138
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ie30fb3d0870ddb6c69511b5200058dd3b4961479
2022-04-12 21:23:51 +00:00
Bill Yi
af25e91b3a
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 8c619a2b52
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17716017
Change-Id: Iddc5b25fde1413cdadfd4c909eddc3570bc5417f
2022-04-12 21:21:24 +00:00
Bill Yi
8c619a2b52
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I1e187a5b7f88bbcf8e3255177c21e1d2ba342210
2022-04-12 21:21:07 +00:00
Bill Yi
6f41d53de9
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I23c6b47f55ab4fbf719d576ba9c134c2e50fd4aa
2022-04-12 21:20:31 +00:00
Andras Kloczl
07111f25f4
Change page snapping logic for large screen devices
...
Use 15% of the screen width instead of 40% of the page
width currently used for phones.
Test: try page snapping on Launcher home
Bug: 213305066
Change-Id: I6a525100bf942c5089f580a27250c425ca95cf00
2022-04-12 20:23:23 +01:00
Pat Manning
08a408408c
Merge "Animate clear all button's alpha after last task has scrolled beyond its edge." into tm-dev
2022-04-12 17:04:24 +00:00
Shikha Malhotra
f78da1bae3
Review comments followup
...
These are review comments followup from ag/17399997
Bug: b/218187058
Test: manually test thet Launcher3 features work correctly
Change-Id: I9865a37c1ed663370dc28e7678994f3d961e3cd1
2022-04-12 14:33:07 +00:00
Pat Manning
29fbab4ddd
Animate clear all button's alpha after last task has scrolled beyond its edge.
...
Test: manual
Fix: 208879377
Change-Id: Iad43abbe36d11317869a0c5aa6a8d59fd1fddb67
2022-04-12 15:32:06 +01:00
Pat Manning
7013ee716d
Add drop target button overlap correction to second button only.
...
Bug: 228311837
Bug: 228311837
Test: manual.
Change-Id: Ib9256deadd58c7350143221bf98c79415aaf9bc4
2022-04-12 12:54:15 +01:00
Pat Manning
4349d21246
Merge "Adjust grid cell visualizations." into tm-dev
2022-04-12 11:50:38 +00:00
Brian Isganitis
4ad53f1268
Defer unstashing taskbar on all apps close if gesture in progress.
...
This behavior is more consistent with how we update taskbar stashing when IME is dismissed.
Test: Verified stashing behavior with gestures, 3-button, and bottom sheet dismiss.
Fix: 223837786
Change-Id: Ib85ebe629f33f0bddc36bbc8d99136711105b279
2022-04-11 19:54:53 -07:00
Tracy Zhou
b5d7744c1b
Merge "Play icon alignment animation in live tile mode" into tm-dev
2022-04-12 00:05:34 +00:00
Tracy Zhou
abc2288399
Merge "Update task bar icon alignment logic when launcher is paused and resumed in Overview" into tm-dev
2022-04-12 00:03:15 +00:00
Tracy Zhou
d4ed2f7717
Update task bar icon alignment logic when launcher is paused and resumed in Overview
...
If launcher is paused and resumed in overview, goingToUnstashedLauncherStateChanged doesn't change, so we should not use goingToUnstashedLauncherState as a signal for the end value of mIconAlignmentForResumedState anim
Bug: 223109070
Test: go to overview, use the share functionality, share to drive, and make sure task bar ends up in stashed state. Making sure that it never unstashes is out of scope for this change
Change-Id: I5684be6b58279a9b41e257dd72591f7d692c2fbc
2022-04-11 23:12:49 +00:00
Tracy Zhou
42e30963c3
Play icon alignment animation in live tile mode
...
aka launcher is not resumed but recents animation is running
Fixes: 210047102
Test: Go to overview in live tile mode, tap on somewhere outside any task in overview, and make sure icon alignment animation is played.
Change-Id: Ic300ee296049b6fdcdf6d2595916cc84c09d95fa
2022-04-11 16:11:28 -07:00
TreeHugger Robot
2b80d6f813
Merge "Fixing potential ANR when fetching for wallpaper info" into tm-dev
2022-04-11 22:43:43 +00:00
Hongwei Wang
51cf7d18a7
Pass sourceRectHint to auto-enter-pip transition
...
Bug: 198309223
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eODHpvqAQPfbwjFamtRYC1
Test: manual, see video
Change-Id: I169603c5285f9a226ab0423dbd36d8e3e2ca51a1
2022-04-11 14:33:44 -07:00
TreeHugger Robot
2c9195b988
Merge "Don't use double padding in DeferredAppWidgetHostView if that would result in negative width" into tm-dev
2022-04-11 20:33:30 +00:00