Commit Graph

48210 Commits

Author SHA1 Message Date
Sebastián Franco 9ffbbf8f2c Merge "Cherrypick needed for merge conflict with ag/18875278" into tm-qpr-dev 2022-06-23 21:54:13 +00:00
Brandon Dayauon 0130315860 Merge "Fix work toggle button that gets blocked by threeButton nav bar on TABLETS" into tm-qpr-dev 2022-06-23 21:45:12 +00:00
Schneider Victor-tulias 2df19a2345 Merge "Fix a potential null-pointer onActivityDestroyed" into tm-qpr-dev 2022-06-23 18:29:09 +00:00
TreeHugger Robot a5152338ea Merge "Reducing max timeout in TAPL" into tm-qpr-dev 2022-06-23 17:44:22 +00:00
Pat Manning 5ecc826e5a Detect force visible nav bar based on kids mode. am: 6d17a71d19 am: ac7f012ba0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038728

Change-Id: Ie4c215ae488106822ac8b1959ec58514afc7a0d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 23:24:34 +00:00
Pat Manning ac7f012ba0 Detect force visible nav bar based on kids mode. am: 6d17a71d19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038728

Change-Id: If652dd2dc98687e6ff3106f477c23487c91e07fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 23:08:26 +00:00
Pat Manning 6d17a71d19 Detect force visible nav bar based on kids mode.
WM was changed to use NAV_BAR_KIDS_MODE instead of NAV_BAR_FORCE_VISIBLE, this needs to update to match.

Fix: 229580780
Test: manual.
Change-Id: I38fb23dcc85676593a3f8f0851676bc526802d2e
(cherry picked from commit c773d7cdc8)
2022-06-22 21:27:27 +00:00
Brandon Dayauon 65590cb071 Fix work toggle button that gets blocked by threeButton nav bar on TABLETS
Ex) for tablets.. the nav bar height is really the height of the taskbar.
	Thats why we add the current padding of the work toggle button to the
	taskbar size.

As of patchset 3.. I reverted mDevice.getInsets().bottom because it caused
the button to be higher than it should be on landscape.
Bug: 235053326
Test: Manual (pictures in  bug thread)

Change-Id: I2f77d759ae060311d049182e8347dede590cd0b0
2022-06-22 13:21:25 -07:00
Sunny Goyal 80179921f3 Merge "Removing non-launcher engineers from the Launcher OWNERS file" into tm-qpr-dev 2022-06-22 18:16:20 +00:00
Alex Chau 7356c13760 Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb am: 90abf51d5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866

Change-Id: I3d68a995880a27c953164e2d4767f63ab38b0bfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 12:39:41 +00:00
Alex Chau 90abf51d5b Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866

Change-Id: I42777fcd655a85f9914ced5101960eeefb4084fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-22 12:22:54 +00:00
Alex Chau ed2e7719cb Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev 2022-06-22 11:59:31 +00:00
Sunny Goyal 506165689f Revert "Finish recents animation on activity destroyed."
This reverts commit 0fd3b13d01.

Reason for revert: b/236514960
Bug: 228137694
Bug: 230373809

Change-Id: Ifed5f2a13fda4409982d548e3212bd16c81b63bc
2022-06-22 11:59:13 +00:00
TreeHugger Robot 5069964ea2 Merge "Unifying scroll calculation logic for both widgets and apps recycler view Also using itemType instead of item object for widget size cache" into tm-qpr-dev 2022-06-22 03:23:07 +00:00
vadimt a18e9f2637 Reducing max timeout in TAPL
Lab presubmits now have a limit 60 sec per test, so failing to find an expected view will result in a cryptic "Test did not run due to instrumentation issue. Run level error reported reason: 'Instrumentation did not output anything for the configured timeout. ddmlib reported error: Failed to receive adb shell test output within 600000 ms. Test may have timed out, or adb connection to device became unresponsive.'"

Reducing the timeout to get better messages.

Bug: 236308045
Test: presubmit
Change-Id: I09e7fa02a12f4e2d0900d29b0029686337a381b0
2022-06-21 20:14:08 +00:00
Alex Chau bd8111a049 Merge "Only check dbFile to decide if grid migration is needed" into tm-qpr-dev 2022-06-21 20:08:53 +00:00
Sunny Goyal 20b4457319 Removing non-launcher engineers from the Launcher OWNERS file
Bug: 236736620
Test: n/a
Change-Id: I59e80d93a3b272cf2f82efa4b36824a469845874
2022-06-21 12:48:45 -07:00
Schneider Victor-tulias 6c71fe71bd Merge "Fix taskbar unstash animation delay when launching a split task." into tm-qpr-dev 2022-06-21 19:38:46 +00:00
Schneider Victor-tulias bfde6b2e5d Fix a potential null-pointer onActivityDestroyed
Fixes: 234082544
Test: started recents from a large screen and phone
Change-Id: I54ee93793ec146d1b0b0f00f23256aaca5975bc0
2022-06-21 12:34:02 -07:00
Alex Chau 61c6b580ad Merge "Revert "Add logs for InvariantDeviceProfile.getDeviceProfile"" into tm-qpr-dev 2022-06-21 18:10:28 +00:00
Alex Chau 49dcd16b26 Only check dbFile to decide if grid migration is needed
Fix: 234847755
Test: With a modified local build, when changing display config to swap between same grid:
- When dbFile is same but device type is different, no migration is performed
- When both dbFile and device type are different, migration is performed properly
Test: Grid migration through Wallpaper & Styles still works properly

Change-Id: Ie7429a7d59c135ba47061cae21c40b8d8af7188a
2022-06-21 12:36:50 +00:00
TreeHugger Robot fbc3f597dc Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-06-20 12:13:14 +00:00
Bill Yi c8aafdfc63 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours am: d0ee81b797 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984

Change-Id: I38a3e2a1cc44c1f6e76eebbb2448980289c1a613
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:33:53 +00:00
Bill Yi d0ee81b797 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984

Change-Id: I2143c6c351e07ebe7aaa85d9770ab13c7f761ea3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:24:04 +00:00
Bill Yi f17a97540c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fa9f6501e9 -s ours am: b52e94bb84 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18987633

Change-Id: I8e88915237f310c71013165edac27f82b77b0002
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:11:03 +00:00
Schneider Victor-tulias dfadafe45b Fix All set activity not drawing on initial swipe. am: 4d18da78c0 am: 3a126d78a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18930603

Change-Id: Ie74ad15bc52082615cabced4f86c33e69de9560c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:10:49 +00:00
Bill Yi ccd3f9b40a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984

Change-Id: I70d37f35351f8ae3d26018d5458162f878fdbc2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:04:28 +00:00
Bill Yi b52e94bb84 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fa9f6501e9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18987633

Change-Id: I889ef5d9b0d9853a6bd0e56de42a0af1c7277f92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:34:14 +00:00
Schneider Victor-tulias 3a126d78a9 Fix All set activity not drawing on initial swipe. am: 4d18da78c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18930603

Change-Id: I71eea3ff4b66ec094a7eb451d1a0afe3cd3a7227
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:34:03 +00:00
Bill Yi d6ac82b18c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9f3de2bbb2 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18987635

Change-Id: I6e567a6e3220d934a3df6cc1745a4008240caac4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:24:19 +00:00
Bill Yi 9f3de2bbb2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3fa536c9f10b1648155ed3ef01cfb5d95e20fb34
2022-06-19 09:05:18 -07:00
Bill Yi cba7d722c4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibf3c81237de9f9fe20f590d01483dc9283313fb6
2022-06-19 09:04:33 -07:00
Bill Yi fa9f6501e9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I010fafdf9fc78b15763a183684aa0ab77ee66281
2022-06-19 09:03:48 -07:00
Bill Yi dd44423c3f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5d8815a46e2981f5ad1bf173c3903764062cf4f4
2022-06-18 22:35:57 -07:00
Alex Chau b065b4b05a Revert "Add logs for InvariantDeviceProfile.getDeviceProfile"
This reverts commit d3e8cc40b4.

Reason for revert: b/231312158 is fixed, log is no longer needed
Fix: 231851651

Change-Id: I3ea8b9d14e7eb6f8f9c794c5d15cdfc94153d392
2022-06-17 09:36:00 +00:00
Sunny Goyal bbad97e273 Unifying scroll calculation logic for both widgets and apps recycler view
Also using itemType instead of item object for widget size cache

Bug: 234008165
Test: Verified on device
Change-Id: Ia4b4a00a11627c0c454e4a699570e8ab1667a390
2022-06-16 16:03:37 -07:00
Schneider Victor-tulias 4d18da78c0 Fix All set activity not drawing on initial swipe.
The launcher was not properly preloading upon launching the All Set Activity. The Launcher would only start loading once the user started swiping up. This would stop the all set activity from drawing.

Test: Factory reset with a restore and tested the all set page.
Fixes: 234536107
Change-Id: I6bcb805ea6c43fb993f2b57499444ea62bcc37e1
2022-06-16 20:38:24 +00:00
Sebastián Franco 2545f45a1f Merge "Adding a case when there is only 1 system shortcut on the Popup Container" into tm-qpr-dev 2022-06-16 17:01:10 +00:00
Tony Wickham d100f6825f Merge "Clear MotionPauseDetector onRecentsAnimationCanceled()" into tm-dev am: 9d5f64adf1 am: 1cba5f9d47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18914942

Change-Id: Ib76e6458f71282ebb7753db8c4ea9b671fb0fa19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 15:28:03 +00:00
Tony Wickham 1cba5f9d47 Merge "Clear MotionPauseDetector onRecentsAnimationCanceled()" into tm-dev am: 9d5f64adf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18914942

Change-Id: I4c55e85b233eec4a6bca1d46590270b71ecbc4a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 15:10:12 +00:00
Tony Wickham 9d5f64adf1 Merge "Clear MotionPauseDetector onRecentsAnimationCanceled()" into tm-dev 2022-06-16 14:55:48 +00:00
Alex Chau ccc55f1668 Merge "Detect force visible nav bar based on kids mode." into tm-qpr-dev 2022-06-16 13:55:14 +00:00
Thales Lima 85e52e2f9d Merge "Fix QSB alignment" into tm-qpr-dev 2022-06-16 12:19:45 +00:00
Alex Chau a5ae4c2e57 Merge "Animate inline QSB between home and apps" into tm-qpr-dev 2022-06-16 08:00:51 +00:00
Ling WO 9a8964b122 Cherrypick needed for merge conflict with ag/18875278
Support move to a specific location on workspace for all workspaceDragSource, so other workspaceDragSource such as HomeAppIconMenuItem can be moved to a fixed location during testing to avoid ui-diff flakiess

Design doc:
https://docs.google.com/document/d/1tZWbfsv86O6UAKtHJrDBGecu-x3ac51qmWvARDg057M

Test: atest
Bug: 216189838

Change-Id: Ia6ef7338beb257d0313be17a53a9fc59ae39fdb6
(cherry picked from commit fe8fb4d137)
2022-06-15 22:38:04 +00:00
Brandon Dayauon 111473315d Merge "Fix work toggle button to be placed where it should be." into tm-qpr-dev 2022-06-15 22:05:49 +00:00
Schneider Victor-tulias e164995f9e Fix taskbar unstash animation delay when launching a split task.
Fixes: 232033354
Test: switched between split and unsplit tasks using 3 button nav and gesture nav
Change-Id: I9a4e2eb08e9970540093e3dc60b64a372be2052f
2022-06-15 14:55:37 -07:00
TreeHugger Robot 34958f4bdf Merge "Fix folder preview animation when adding or removing icons." into tm-qpr-dev 2022-06-15 21:20:55 +00:00
Alex Chau c1d26448c5 Animate inline QSB between home and apps
- Added a QSB to taskbar to be animated between inline QSB and taskbar
- Passed endValue of taskbar animator to TaskbarController to have aniamtion variation between home -> app and app -> home
- Tuned duartion of taskbar animation and also stagger animation when taskbar is present
- Disabled scaling down of taskbar and inline QSB for home -> app
- Disabled stagger animation of taskbar and inline QSB for app -> home

Bug: 220733187
Test: manual
Change-Id: I4aac0bbc343b992a0472298595770e2bf2a55990
2022-06-15 22:12:29 +01:00
Tony Wickham a379435d04 Clear MotionPauseDetector onRecentsAnimationCanceled()
Fixes: 234022857
Test: Open ImCapture and swipe up to home; repeat 20 times and ensure never see empty overview tasks over launcher
Change-Id: Icef6d7a54000e1e21453feeae7e207679077b772
2022-06-15 11:59:59 -07:00