Ats Jenk
0ea4768a02
Taskbar fixes when apps move to desktop and back
...
Fixes to taskbar state when tasks are moved to desktop and fullscreen.
When freeform tasks are visible and we start a new task from taskbar, it
first launches in fullscreen. Transition handler in WMSHell switches it
to freeform as needed. This switch causes launcher activity to be paused
and then resumed. Resuming launcher activity while freeform tasks are
visible, puts the launcher into an incorrect state. (Launcher should
appear paused while freeform tasks are visible).
When a freeform task switches to fullscreen, freeform tasks are no
longer visible. This causes us to resume the launcher activity. We
should not do that if a fullscreen task is visible as it puts the
launcher into an incorrect state. It appears resumed even though the
activity is paused. Added a check to DesktopVisibilityController that
checks if the activity is actually resumed before marking it appear as
resumed.
Test: manual, switch a task to freeform, launch another freeform task
from taskbar, taskbar should continue to be available
Test: manual, switch a task to freeform, switch the task back to
fullscreen, taskbar should continue to be available
Bug: 261234278
Change-Id: Ia8d208619fabfcc9bffff6d8d227b236cb62a00c
2022-12-20 10:34:07 -08:00
Brandon Dayauon
5a31c9262e
Move VibratorWrapper to AOSP
...
bug: 233751149
test: manually run and presubmit
Change-Id: I89ada0adf7254396238cb96d27bc265e28093f50
2022-12-20 10:27:21 -08:00
Sunny Goyal
eae7e58b20
Merge "Removing some unused container IDs" into tm-qpr-dev
2022-12-20 18:19:57 +00:00
Alex Chau
0d4f1ac30e
folderChild icon and text size should follow the respective configuration
...
- Use mTypeIndex instead of always INDEX_LANDSCAPE or INDEX_DEFAULT to make sure they follow the workspcae icon/text size
Fix: 262446829
Test: DeviceProfileDumpTest
Change-Id: I9fc37b41114a34e35108330a8d599556bff77eef
2022-12-20 12:36:05 +00:00
Alex Chau
2aa9ce9ea9
Merge "Add logs to track app grid changes" into tm-qpr-dev am: dcafe99d42 am: 1e13cde01a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782492
Change-Id: I4a00a2fdcd3ba60db91cb3a6ec81fde4183d54f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 12:32:08 +00:00
Alex Chau
1e13cde01a
Merge "Add logs to track app grid changes" into tm-qpr-dev am: dcafe99d42
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782492
Change-Id: If6a96705a8c18fb2124f7a6ed5c788940b1d3369
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 11:50:21 +00:00
Alex Chau
dcafe99d42
Merge "Add logs to track app grid changes" into tm-qpr-dev
2022-12-20 11:13:04 +00:00
Alex Chau
49cca007c3
Merge "Only skip stash animation when going to/from Launcher" into tm-qpr-dev am: 44dd5b7b28 am: 0bfdd134ee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782490
Change-Id: I05f82852dfc039725ac4c1d2939c34f6c1b66ad6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 11:07:34 +00:00
Alex Chau
0bfdd134ee
Merge "Only skip stash animation when going to/from Launcher" into tm-qpr-dev am: 44dd5b7b28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20782490
Change-Id: Ie9f2222de708ed7c0e711fab0a1fa7637bb7c333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 10:26:19 +00:00
Alex Chau
44dd5b7b28
Merge "Only skip stash animation when going to/from Launcher" into tm-qpr-dev
2022-12-20 09:32:04 +00:00
Bill Yi
c2a94431a0
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: c326b7849f -s ours am: a3cb294470 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20781622
Change-Id: I6ac590b6f7398fdeb6ab3dd1a48301ee98c79ca0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 06:36:01 +00:00
Bill Yi
2b6a38e8d1
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 10d62429ab -s ours am: 31911fca90 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20781622
Change-Id: I811519337125426b1e35b105072b58468b6b16da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 06:35:39 +00:00
Bill Yi
a3cb294470
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: c326b7849f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20781622
Change-Id: I800fb723b655b5bb3c1c3ff868d5951654aa6710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 06:14:30 +00:00
Bill Yi
31911fca90
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 10d62429ab -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20781622
Change-Id: Ibcc132d0014e7d26500e6533c1136ae2133c9c48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-20 06:14:07 +00:00
Bill Yi
c326b7849f
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2022-12-20 06:00:39 +00:00
Ling Wo
8ba48c1e65
Expose getSearchBox from the HomeAllApps class
...
Doc: https://docs.google.com/document/d/1OlN-A3Z5_UjWk-QkxC4JaYWesFDNHkHTox94__rLmR0
Bug: b/255390519
Test: local testing
Change-Id: I72410035bbcfd2215815dbf6c3d6bd86d692b8c6
2022-12-20 04:13:59 +00:00
Shen Lin
ed2f309652
Fix NPE in FallbackSwipeHandler when getRunningTask() returns null
...
mGestureState.getRunningTask() is probably null in this situation, we
need to add a null check here refer to the usage in TaskAnimationManager.
Bug: 263041039
Test: manual
Change-Id: I7707bf204190ff506f40640ff764f07cb98aab68
2022-12-20 11:42:27 +08:00
Android Build Coastguard Worker
b0305b7047
Snap for 9420774 from 45149d9036 to udc-release
...
Change-Id: Iaa620513e16dc3c5e0567b135d54a5ae920ccd3f
2022-12-20 02:31:14 +00:00
vadimt
befcfa40b9
Not waiting for animations for Launcher clicks
...
Waiting for animations to finish can make the test wait for too long if there is an ongoing animation somewhere, for example, in an app we are trying to swipe from.
Test: presubmit
Bug: 256567004
Change-Id: Ida494128a18342bee3dbdae6d713c854c86912c1
2022-12-19 18:02:07 -08:00
Android Build Coastguard Worker
1aba4603f7
Snap for 9420665 from 04c89fe38e to tm-qpr2-release
...
Change-Id: I90e71440182c2de80a7e4fa6f58e07b20d5b360c
2022-12-20 00:35:08 +00:00
Sebastián Franco
ff13372043
Merge "Fix IndexOutOfBoundsException in grid span lookup" into tm-qpr-dev am: b2acb96510 am: ce7fb3a883
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20785398
Change-Id: I6d1ae76cf4e7b364b9f3507941e0ae1ca9d792ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 23:18:54 +00:00
Sebastián Franco
ce7fb3a883
Merge "Fix IndexOutOfBoundsException in grid span lookup" into tm-qpr-dev am: b2acb96510
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20785398
Change-Id: I1ca2da4a399f364d2ee1d7186d7ffc5338914d7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 22:38:28 +00:00
Sebastián Franco
b2acb96510
Merge "Fix IndexOutOfBoundsException in grid span lookup" into tm-qpr-dev
2022-12-19 22:12:27 +00:00
Brian Isganitis
746b2243f9
Add flag for Taskbar education tooltip.
...
Test: Manual
Bug: 263157739
Change-Id: I1c427d250864db1b8dee58584d503908a0fd9c8d
2022-12-19 20:47:21 +00:00
Sihua Ma
45149d9036
Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev am: 04c89fe38e am: f8ab32a8bc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20418248
Change-Id: I8cc2d48f94aaa415fb7b9bd8137502b27de33d5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 19:55:49 +00:00
Sihua Ma
f8ab32a8bc
Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev am: 04c89fe38e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20418248
Change-Id: Ibe09a5d1ab53070bc6a4b797f95e9d853f86fbc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 19:15:29 +00:00
Alex Chau
d2706823cb
Add logs to track app grid changes
...
Bug: 258560494
Test: manual
Change-Id: I2c44fbc2ce25b61df15853c4789bf0d6321793bb
2022-12-19 18:36:14 +00:00
Sihua Ma
04c89fe38e
Merge "Add QuickstepWidgetHolder for widget handling" into tm-qpr-dev
2022-12-19 18:22:38 +00:00
Sunny Goyal
b6c5feafde
Fix IndexOutOfBoundsException in grid span lookup
...
Bug: 262747378
Test: Presubmit
Change-Id: I3ac4f0208874c0b7f41f6d02ee99db660dc04f23
2022-12-19 09:57:55 -08:00
Alex Chau
1b276a1ba7
Add transientTaskbarMargin above taskbar in overview
...
- Also removed transient_taskbar_two_panels_size and use sw720dp override instead, to be consistent with how we handle small vs large tablet in overview
- Also made isTransientTaskbar mockable so we can test that in DeviceProfileDumpTest
Bug: 260596114
Test: DeviceProfileDumpTest
Change-Id: I3c2236b95d91246e9581531478e3c97601cfb2ec
2022-12-19 17:23:27 +00:00
Alex Chau
bd535c46d7
Only skip stash animation when going to/from Launcher
...
- Added a cehck on chagnedFlags before skipping stash animation, in additional to !isHotseatIconOnTopWhenAligned check
Fix: 262835548
Test: manual
Change-Id: I5a90213bc0b3f34609a074ba887adbf113e04120
2022-12-19 17:16:08 +00:00
Anushree Ganjam
2d65633fc2
Merge "Move the Impression Logging Flag to AllAppsDeviceConfigFlag" into tm-qpr-dev am: 49d1951bf2 am: 32217b5976
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20653553
Change-Id: I129ff16bbe6ae62008c9b0fe07c7783647fa9e61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 17:10:14 +00:00
Anushree Ganjam
32217b5976
Merge "Move the Impression Logging Flag to AllAppsDeviceConfigFlag" into tm-qpr-dev am: 49d1951bf2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20653553
Change-Id: I24287b1e43eaecc368cc3c3d9cbe49d7ad3b5ebf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 16:30:45 +00:00
Anushree Ganjam
49d1951bf2
Merge "Move the Impression Logging Flag to AllAppsDeviceConfigFlag" into tm-qpr-dev
2022-12-19 16:21:43 +00:00
Alex Chau
e13b1a22f9
Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev am: 4537638dfd am: 0d5ca5fe6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20533919
Change-Id: I37921b47514fc4823b2c6ee7d61fbf1ff6ca7c67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 12:26:25 +00:00
Andy Wickham
63ede7c913
Merge "Adds additional top padding in All Apps with floating searchbar." into tm-qpr-dev am: 36e2ae4cba am: 59e6016ee1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20730517
Change-Id: Ib0dfa28fdd98fcfa5ca4b5ce175574b23b33b356
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 12:26:12 +00:00
Luca Zuccarini
0729cb9420
Merge "Update timings for the Home <> All Apps transition." into tm-qpr-dev am: 49d07b1688 am: cfab843aa1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20641089
Change-Id: I03255587d9c8fa1d7d3b5242a210edda767455d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 12:25:55 +00:00
Alex Chau
0d5ca5fe6f
Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev am: 4537638dfd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20533919
Change-Id: I23b86a2c2588e8b22c717626fcf345cf32d1f7a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 11:46:31 +00:00
Andy Wickham
59e6016ee1
Merge "Adds additional top padding in All Apps with floating searchbar." into tm-qpr-dev am: 36e2ae4cba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20730517
Change-Id: I6ccb4d5d120846323507c0b1c6c0f168b5eaa2aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 11:46:12 +00:00
Luca Zuccarini
cfab843aa1
Merge "Update timings for the Home <> All Apps transition." into tm-qpr-dev am: 49d07b1688
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20641089
Change-Id: I83d7456152d023562734533bc79dc0b8e3460c1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 11:45:16 +00:00
Alex Chau
4537638dfd
Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev
2022-12-19 11:37:39 +00:00
Andy Wickham
36e2ae4cba
Merge "Adds additional top padding in All Apps with floating searchbar." into tm-qpr-dev
2022-12-19 11:23:14 +00:00
Luca Zuccarini
49d07b1688
Merge "Update timings for the Home <> All Apps transition." into tm-qpr-dev
2022-12-19 11:10:14 +00:00
Bill Yi
10d62429ab
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I29e6fce19e6e759d5d837d28c77a1adb282588eb
2022-12-19 01:42:12 -08:00
Tony Huang
0d7dc94d2e
Fix divider visibility issue on transient taskbar
...
On legacy case, we hide divider bar when gesture start, but this
might cause divider hidden when transient taskbar case.
We should follow the timing it actually start entering overview
then hide divider.
Fix: 261376202
Test: manual
Test: pass existing tests
Change-Id: Iae1339ae0b42033075dd840fc071ba28a7d3e13a
2022-12-19 16:44:32 +08:00
Brian Isganitis
a4eac1afb4
Merge "Add ACCESS_SHORTCUTS to quickstep manifest." into tm-qpr-dev am: 0f33761d1d am: 5f680a69c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20693983
Change-Id: I7ee2688870c639f4bf29788fe0d0884e5721a1b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 05:06:27 +00:00
Brian Isganitis
5f680a69c9
Merge "Add ACCESS_SHORTCUTS to quickstep manifest." into tm-qpr-dev am: 0f33761d1d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20693983
Change-Id: I427fae2c94a31450754c08a59fb455b1fa478c53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 04:29:24 +00:00
Brian Isganitis
0f33761d1d
Merge "Add ACCESS_SHORTCUTS to quickstep manifest." into tm-qpr-dev
2022-12-19 03:45:19 +00:00
Brian Isganitis
dcf07f398a
Merge "Delay hiding Taskbar EDU until entering home or overview." into tm-qpr-dev am: a1808c3e49 am: ab29830493
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20727418
Change-Id: Ib9c849ea8640417b5d7bd8d5978c8485a04205a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-18 23:53:20 +00:00
Brian Isganitis
ab29830493
Merge "Delay hiding Taskbar EDU until entering home or overview." into tm-qpr-dev am: a1808c3e49
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20727418
Change-Id: I8ffc5766af32fb513c10a62d17a03c1f19e29236
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-18 23:16:04 +00:00