Samuel Fufa
3f28283be1
Merge "Allapps layout polishes" into sc-dev am: e67baf65f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15190139
Change-Id: Ib27dbe4015cfd9b82ef84e19f4a6da5dd8ad2382
2021-07-02 22:15:44 +00:00
Samuel Fufa
e67baf65f2
Merge "Allapps layout polishes" into sc-dev
2021-07-02 22:05:26 +00:00
Tracy Zhou
7baceccbf7
Merge "[DO NOT MERGE] Make the cutout slightly smaller" into sc-dev am: ee5dc1149e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081309
Change-Id: I30a3ca03ac243011b87754a652add5e63de4e2b5
2021-07-02 21:54:16 +00:00
Tracy Zhou
a5dd6fb387
[DO NOT MERGE] Make the cutout slightly smaller am: 26f47c711a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081309
Change-Id: I5c4e53095fa4a93bf1ce5efbb17832ba92bf7689
2021-07-02 21:54:15 +00:00
Tracy Zhou
ee5dc1149e
Merge "[DO NOT MERGE] Make the cutout slightly smaller" into sc-dev
2021-07-02 21:41:28 +00:00
Hyunyoung Song
74ce4969c2
Merge "Revert "Don't use ProxyActivity when launching from SearchActionItemInfo intent"" into sc-dev am: 933d2536da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15184812
Change-Id: Ib0503278195351d00915035b7746d6081b714029
2021-07-02 21:35:57 +00:00
Hyunyoung Song
933d2536da
Merge "Revert "Don't use ProxyActivity when launching from SearchActionItemInfo intent"" into sc-dev
2021-07-02 21:18:18 +00:00
Hyunyoung Song
5881b910e9
Revert "Don't use ProxyActivity when launching from SearchActionItemInfo intent"
...
This reverts commit 878dedfb84 .
Reason for revert: b/192558017
Bug: 192558017
Change-Id: I41e64ab74c00d7b255be6f3ef1b783c01571d641
2021-07-02 21:18:10 +00:00
Hyunyoung Song
9f71064e3c
Merge "Remove flicker when dismissing snackbar" into sc-dev am: 2d8856537e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15190712
Change-Id: I3124f4975345c89daddd445e4ebe7e0c70e9b310
2021-07-02 20:41:33 +00:00
Tracy Zhou
26f47c711a
[DO NOT MERGE] Make the cutout slightly smaller
...
Temporary fix for S. Leaving the bug open for a proper fix in T.
Bug: 189265196
Test: https://screenshot.googleplex.com/75fgCva736rqwg5
Change-Id: Ice3b189a41f759e090334e360e44543eabc4836d
2021-07-02 13:35:50 -07:00
Hyunyoung Song
2d8856537e
Merge "Remove flicker when dismissing snackbar" into sc-dev
2021-07-02 20:29:59 +00:00
TreeHugger Robot
7dcd8755f8
Merge "Fix NPE inside dispatchRestoreInstanceState" into sc-dev am: 04d4d0d4f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15184364
Change-Id: I612a641e136fe92342b34508e22fe33e27e1cc79
2021-07-02 19:03:41 +00:00
TreeHugger Robot
04d4d0d4f9
Merge "Fix NPE inside dispatchRestoreInstanceState" into sc-dev
2021-07-02 18:46:30 +00:00
Hyunyoung Song
1b68cbb822
Remove flicker when dismissing snackbar
...
Bug: 191972314
Test: manual
Change-Id: Icf185b89c07b363ec44c77ba3ac1bdeb34e30e59
2021-07-02 11:35:53 -07:00
Sunny Goyal
13405411e7
Merge "Fix some touch issues during gesture nav transition" into sc-dev am: 6348858734
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15137733
Change-Id: Ibebb2ef1c6c05b95ef143ce0136ea203cd2a7863
2021-07-02 18:35:53 +00:00
Tracy Zhou
6ffacb09a9
Merge "Check if live tile targetSet is null in launchSideTaskInLiveTileModeForRestartedApp" into sc-dev am: fa72529b05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15184810
Change-Id: I94bff6e7bc83f86aab2fc12d3c2649e4b65360e6
2021-07-02 18:35:15 +00:00
Sunny Goyal
6348858734
Merge "Fix some touch issues during gesture nav transition" into sc-dev
2021-07-02 18:33:34 +00:00
Tracy Zhou
fa72529b05
Merge "Check if live tile targetSet is null in launchSideTaskInLiveTileModeForRestartedApp" into sc-dev
2021-07-02 18:18:23 +00:00
Samuel Fufa
8b1461d212
Allapps layout polishes
...
Bug: 192666217
Bug: 192648043
Bug: 192648475
Test: Manual
Change-Id: Ib108a6cae8317571520d367334f3bd26b259f04a
2021-07-02 13:03:11 -05:00
Pierre Barbier de Reuille
781da1352f
Merge changes Id2a8d12e,I06353ba4 into sc-dev am: 6788b73970
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15171715
Change-Id: I9bc57840a03d9fa2dcd8e7a3af7d540317f0c675
2021-07-02 14:19:07 +00:00
Pierre Barbier de Reuille
6788b73970
Merge changes Id2a8d12e,I06353ba4 into sc-dev
...
* changes:
Use the computation of the widget size including padding.
Avoid calling AppWidgetHostViedw#updateAppWidgetSize
2021-07-02 14:05:08 +00:00
Pierre Barbier de Reuille
a7b3a14e75
Use the computation of the widget size including padding.
...
Found all the uses of getWidgetSizePx and replaced them with the
computation of padded sizes (checked it all made sense).
Test: Try the various widget pickers.
Bug: 191612352
Change-Id: Id2a8d12ee7ce6baabef186dbb78d817975ea2212
2021-07-02 10:04:06 +01:00
Pierre Barbier de Reuille
199aec50ad
Avoid calling AppWidgetHostViedw#updateAppWidgetSize
...
We cannot call it anymore, because the system padding is not always
used.
Bug: 191612352
Test: Manually, using CtsVerifier and dedicated widgets
Change-Id: I06353ba49a8e62127e593cdbcb86fadcf89ecb24
2021-07-02 10:03:44 +01:00
Tracy Zhou
d2039614e0
Check if live tile targetSet is null in launchSideTaskInLiveTileModeForRestartedApp
...
Fixes: 192458435
Test: N/A
Change-Id: I3f0b828bf9fa9645bbd253612aa073f37b21e4b2
2021-07-01 23:52:34 -07:00
Tracy Zhou
52eb75bfee
Enable live tile in 3 button mode am: 1fe5fda3d8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254546
Change-Id: If5a526a1e949629ce610ce18a042be9e6eb8b544
2021-07-02 06:51:44 +00:00
Hyunyoung Song
9804c0472e
Fix NPE inside dispatchRestoreInstanceState
...
Bug: 192559704
Test: manual
Change-Id: I212518ac4a7feddd8e87f4be601332ea62e99313
2021-07-01 23:26:57 -07:00
Tracy Zhou
1fe5fda3d8
Enable live tile in 3 button mode
...
- Previously we rely on whether launcher is resumed as a signal to see what "toggle" means. This no longer works since launcher is not resumed in Overview. Instead, we need to check the live tile signals.
- Use screenshot doesn't propagate after setting a new current task. So followed the logic around mRunningTaskIconScaledDown to work it out.
- Get rid of NavigationModeFeatureFlag, pending on 3rd party launcher change ag/14409355
Fixes: 185934639
Test: (1) Toggle overview from home screen and toggle back to fullscreen. (2) Toggle overview from app and keep toggling.
Change-Id: Iffaea18afb2179b5bb7dadda49e56efefa5658bc
Merged-In: Iffaea18afb2179b5bb7dadda49e56efefa5658bc
2021-07-02 05:19:32 +00:00
Alex Chau
4eabe23108
Merge "Restore previous currentPage in applyLoadPlan in case task is re-ordered" into sc-dev am: 679f8bb9ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15175270
Change-Id: I409622ab04cc934290013203281329987e0ae5ec
2021-07-01 22:27:33 +00:00
Alex Chau
679f8bb9ca
Merge "Restore previous currentPage in applyLoadPlan in case task is re-ordered" into sc-dev
2021-07-01 22:12:54 +00:00
Tracy Zhou
ec5c2ea87e
Merge "Do not switch to screenshot and finish recents animation for menu options that already do so" into sc-dev am: e54f789de9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15176734
Change-Id: I6e980151382b7ce10fb4d206d86295a41e938b8f
2021-07-01 19:45:18 +00:00
Tracy Zhou
e54f789de9
Merge "Do not switch to screenshot and finish recents animation for menu options that already do so" into sc-dev
2021-07-01 19:32:39 +00:00
Jonathan Miranda
d156f372f5
Merge "Fix bug where app icon is gone for first frame on cold start." into sc-dev am: 3334c32120
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164770
Change-Id: I3680615723b0ef5edf175db01fd44ed068f2147f
2021-07-01 18:35:30 +00:00
Jonathan Miranda
a47a2017e4
Merge "Cancel existing preview item animation during non-animated update." into sc-dev am: 81501a563c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164771
Change-Id: I2f4175a5b0b232184d2b8cd2200b3e2926903555
2021-07-01 18:35:25 +00:00
Jonathan Miranda
3334c32120
Merge "Fix bug where app icon is gone for first frame on cold start." into sc-dev
2021-07-01 18:34:47 +00:00
Jonathan Miranda
81501a563c
Merge "Cancel existing preview item animation during non-animated update." into sc-dev
2021-07-01 18:32:49 +00:00
Sunny Goyal
08fa7008b0
Merge "Fixing some dimentions in AllSet activity" into sc-dev am: f3d3dcf4a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15160037
Change-Id: I8f187fe98130bc8c35864a97b21fc31fb1161e30
2021-07-01 18:31:02 +00:00
Sunny Goyal
f3d3dcf4a1
Merge "Fixing some dimentions in AllSet activity" into sc-dev
2021-07-01 18:16:45 +00:00
Tracy Zhou
99adef95b3
Do not switch to screenshot and finish recents animation for menu options that already do so
...
The issue is that in landscape mode we add overview shortcuts (e.g. screenshot) to the task view menu, where we switch to screenshot and finish recents animation before executing the shortcut action. However for shortcut actions like screenshot, we do the same, resulting in two chained "switch to screenshot and finish". This is a temporary fix for S given it's late in the cycle and we don't want to introduce unwanted regressions.
Fixes: 192272546
Test: manual
Change-Id: I7ef596e8bce6c15aa4a27163197beac12359b691
2021-07-01 17:46:44 +00:00
Alex Chau
e0fcee01b3
Restore previous currentPage in applyLoadPlan in case task is re-ordered
...
Fix: 186537288
Test: Repeatededly launch task from home and swipe to home, animation is correct
Test: Quick switch, launch task then swipe up, there is no jump
Change-Id: I9fd7416d9811ce4e54a1c6d20374d89d00417cd5
2021-07-01 18:43:20 +01:00
Tony Wickham
5fac02bc5e
Fix some touch issues during gesture nav transition
...
- Don't recreate the laucher transition controller if we've already ended it, as it could clobber a touch interaction that started in the meantime
- Test: swipe up from an app to overivew, swipe to dismiss it during the transition.
- Previously, we were ending the controller twice (once on touch down as we started proxying, and again in setupLauncherUiAfterSwipeUpToRecentsAnimation()), and the second one could happen after starting the dismiss interaction.
- Don't recreateControllers() if orientation didn't change
- Test: swipe up to go from an app to home, swipe up to all apps during the transition.
- Previously, we were getting the following sequence:
1. Touch down on home to start swiping to all apps - all current controllers get this down event to start determining whether to intercept
2. Before reaching touch slop, we recreateControllers(), so all new controllers won't get the down event and thus won't intercept
- Now, we avoid unnecessarily recreateControllers(), so the original controllers can still intercept.
Test: see above
Fixes: 189700453
Change-Id: I7b5fb3d21ab7a7a7044fcec7f2c1e39afe23c5dd
2021-07-01 07:39:59 -10:00
Winson Chung
277e9c83c7
Merge "Defer cleaning up screenshot until after we actually switch to screenshot" into sc-dev am: eb0a38c5f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15160033
Change-Id: I4ed3c6d9009dcff282b08e6597fecd9dcfdecd0e
2021-07-01 17:14:51 +00:00
Cyrus Boadway
c857d45d97
Merge "Use nullable field and boolean rather than optional" into sc-dev am: 048a858575
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15171711
Change-Id: I33e41f1886bc0ce57b291acc60b2e8d3b5d65d7b
2021-07-01 17:14:46 +00:00
Winson Chung
eb0a38c5f2
Merge "Defer cleaning up screenshot until after we actually switch to screenshot" into sc-dev
2021-07-01 17:11:35 +00:00
Cyrus Boadway
048a858575
Merge "Use nullable field and boolean rather than optional" into sc-dev
2021-07-01 16:57:24 +00:00
Samuel Fufa
4ace63d141
Merge "Polish changes for work tab" into sc-dev am: 9010e773e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15157942
Change-Id: I4a49c0e8c8418d6e1f9c4c128541e8d32717cd1e
2021-07-01 16:42:34 +00:00
Samuel Fufa
9010e773e4
Merge "Polish changes for work tab" into sc-dev
2021-07-01 16:30:39 +00:00
Cyrus Boadway
551b4297ed
Use nullable field and boolean rather than optional
...
Optional won't hold null parameters, so use a boolean flag and
colorschange fields to represent the value and whether changes are
present.
Bug: 190818220
Test: manual
Change-Id: I794507340345864e73f04039f12a035c8053fd96
2021-07-01 15:05:43 +00:00
Alina Zaidi
c1565463bd
Merge "Reduce margin for DropTargetBar to avoid buttons to be truncated." into sc-dev am: eefccccb19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15155531
Change-Id: Iea88e6b232d10ec5d3a561b50ac20fea2632d436
2021-07-01 11:23:42 +00:00
Alina Zaidi
eefccccb19
Merge "Reduce margin for DropTargetBar to avoid buttons to be truncated." into sc-dev
2021-07-01 11:10:26 +00:00
Steven Ng
0fcbd49f2a
Merge "Fix widget animation truncated at drop if a widget is resized" into sc-dev am: d9128413cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15159890
Change-Id: I633957630d467ac1af6de76cd25494412dff7957
2021-07-01 10:48:40 +00:00