Alina Zaidi
2891944a4f
Merge "Reduce margin for DropTargetBar to avoid buttons to be truncated." into sc-dev am: eefccccb19 am: c1565463bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15155531
Change-Id: Iecc95592f1bba5833f18e9c3e005b0c15bc8981e
2021-07-02 09:13:19 +00:00
Steven Ng
e13333c5bf
[automerger skipped] Merge "Fix widget animation truncated at drop if a widget is resized" into sc-dev am: d9128413cc am: 0fcbd49f2a -s ours
...
am skip reason: Merged-In I901743f8ba392de37f3ef69ca386c4b36bfebd7f with SHA-1 12b0dfb826 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15159890
Change-Id: Ib61a5d61891697468b2063dce007755c1d50c23d
2021-07-02 09:13:14 +00:00
TreeHugger Robot
91948fc3d1
[automerger skipped] Merge "Correct color extraction on App Widget drop." into sc-dev am: 25e37a85ae am: 9cfbc67b70 -s ours
...
am skip reason: skipped by user pbdr
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15121736
Change-Id: I97a001eeef267a8b6ea1aee2d9535bca788885fe
2021-07-02 09:13:04 +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
ef65a9cf79
[automerger skipped] Enable live tile in 3 button mode am: 1fe5fda3d8 -s ours am: 3022d5f9f3 -s ours am: 7bbaffbcb5 -s ours
...
am skip reason: Merged-In Iffaea18afb2179b5bb7dadda49e56efefa5658bc with SHA-1 d09ebe660f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254546
Change-Id: Ic795737e64e1059f1032dc80e2fb8319e82f436e
2021-07-02 07:21:48 +00:00
Tracy Zhou
7bbaffbcb5
[automerger skipped] Enable live tile in 3 button mode am: 1fe5fda3d8 -s ours am: 3022d5f9f3 -s ours
...
am skip reason: Merged-In Iffaea18afb2179b5bb7dadda49e56efefa5658bc with SHA-1 d09ebe660f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254546
Change-Id: Idb3827453ad55161f210b919dc1f89dd30826d1b
2021-07-02 07:09:37 +00:00
Tracy Zhou
aa034c69f6
[automerger skipped] Enable live tile in 3 button mode am: 1fe5fda3d8 am: 19655085ca -s ours
...
am skip reason: Merged-In Iffaea18afb2179b5bb7dadda49e56efefa5658bc with SHA-1 d09ebe660f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254546
Change-Id: I69b6fc340df844c6f75a0d0e46fce02411882793
2021-07-02 07:09:21 +00:00
Tracy Zhou
3022d5f9f3
[automerger skipped] Enable live tile in 3 button mode am: 1fe5fda3d8 -s ours
...
am skip reason: Merged-In Iffaea18afb2179b5bb7dadda49e56efefa5658bc with SHA-1 d09ebe660f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254546
Change-Id: I1c104b0ff71d9a9571a3be3da019d600e948fab7
2021-07-02 06:52:37 +00: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
19655085ca
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: I495dbe5d3a3ee146b98a36c69b7f941a4cc6ef8a
2021-07-02 06:51:52 +00: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
ba5a129f32
Enable live tile in 3 button mode am: d09ebe660f am: 740b2381c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133050
Change-Id: Ie928474fe22f10bd3b246679ab47ab20a7052b7d
2021-07-02 05:30:11 +00:00
Tracy Zhou
740b2381c4
Enable live tile in 3 button mode am: d09ebe660f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133050
Change-Id: I779ad9e03302864b1a2f59a8da7092917c0f72ad
2021-07-02 05:21:57 +00: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
Tracy Zhou
d09ebe660f
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
2021-07-01 18:40:56 -07:00
Android Build Coastguard Worker
d24a68f535
Snap for 7513903 from efa5e9f5ea to sc-v2-release
...
Change-Id: Ib1234abfc3074ad8ea08ac330a36f13f7469d66f
2021-07-02 01:11:56 +00:00
Android Build Coastguard Worker
09306280d0
Snap for 7514518 from e54f789de9 to sc-release
...
Change-Id: I79d6876f65628f815896d798db915d21f3474fa5
2021-07-02 01:10:48 +00:00
Alex Chau
00fee3a523
Merge "Restore previous currentPage in applyLoadPlan in case task is re-ordered" into sc-dev am: 679f8bb9ca am: e526fd6a00 am: 43e40493fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15175270
Change-Id: I577eb80d9d0f7412cb48c6ed46fc35737c882192
2021-07-01 23:03:18 +00:00
Alex Chau
43e40493fa
Merge "Restore previous currentPage in applyLoadPlan in case task is re-ordered" into sc-dev am: 679f8bb9ca am: e526fd6a00
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15175270
Change-Id: I25d921c104e5285fa163124d2b0863cda5a9bc45
2021-07-01 22:49:27 +00:00
Alex Chau
35d8b03a97
Merge "Restore previous currentPage in applyLoadPlan in case task is re-ordered" into sc-dev am: 679f8bb9ca am: 66b5af2ac2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15175270
Change-Id: I016cc95e7d86f145ef7dde642c811099c4049d1f
2021-07-01 22:36:55 +00:00
Alex Chau
e526fd6a00
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: I4cc43374c577299c7be3d63bb8a7393a90447231
2021-07-01 22:28:30 +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
66b5af2ac2
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: Icaebfb0b8ea2de3109030f140b3dabbc139e1aa2
2021-07-01 22:27:22 +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
2ca69163c6
[automerger skipped] Merge "Do not switch to screenshot and finish recents animation for menu options that already do so" into sc-dev am: e54f789de9 am: 1fcb289e9b -s ours
...
am skip reason: skipped by user tracyzhou
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15176734
Change-Id: Ic1f23f4f4548861648a5b543ca64b59c0b9b9aa0
2021-07-01 21:22:41 +00:00
Tracy Zhou
846ebfe859
[automerger skipped] Merge "Do not switch to screenshot and finish recents animation for menu options that already do so" into sc-dev am: e54f789de9 -s ours am: 1dd0ca7bec -s ours am: f50e8c82e0 -s ours
...
am skip reason: skipped by user tracyzhou
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15176734
Change-Id: I08521fc98e3dbcec30f935e7c87f29ba10c18856
2021-07-01 20:39:14 +00:00
Tracy Zhou
f50e8c82e0
[automerger skipped] Merge "Do not switch to screenshot and finish recents animation for menu options that already do so" into sc-dev am: e54f789de9 -s ours am: 1dd0ca7bec -s ours
...
am skip reason: skipped by user tracyzhou
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15176734
Change-Id: I790cc2e91bc976cb38cfc86f0d61107c3b84777a
2021-07-01 20:24:59 +00:00
Tracy Zhou
1dd0ca7bec
[automerger skipped] Merge "Do not switch to screenshot and finish recents animation for menu options that already do so" into sc-dev am: e54f789de9 -s ours
...
am skip reason: skipped by user tracyzhou
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15176734
Change-Id: Ic5c12013c702c683417ab706c06d6c71b26ecb4f
2021-07-01 20:15: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
1fcb289e9b
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: I7b570013c9600d32a76c72f2a0ba8847ea04a069
2021-07-01 19:45:17 +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
509bd84762
Merge "Fix bug where app icon is gone for first frame on cold start." into sc-dev am: 3334c32120 am: e6f0509d1d am: 8e7c617775
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164770
Change-Id: I901b13bc7e3805865b244296557ed2892b14da5e
2021-07-01 19:09:19 +00:00
Jonathan Miranda
24c23cdc5a
Merge "Cancel existing preview item animation during non-animated update." into sc-dev am: 81501a563c am: aa560506ba am: 4e021bcc56
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164771
Change-Id: I05579c93945b4f119bf247f6b2e505c5d18d8249
2021-07-01 19:09:12 +00:00
Sunny Goyal
b6b7491e41
Merge "Fixing some dimentions in AllSet activity" into sc-dev am: f3d3dcf4a1 am: 2e5176e51f am: cac11af5a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15160037
Change-Id: I5a1efd1b2c1d520fb11aa7e6571852b981e44ff8
2021-07-01 19:08:42 +00:00
Jonathan Miranda
8e7c617775
Merge "Fix bug where app icon is gone for first frame on cold start." into sc-dev am: 3334c32120 am: e6f0509d1d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164770
Change-Id: I9b3d03c8050ac47e0368161dba58110b0e047605
2021-07-01 18:48:39 +00:00
Jonathan Miranda
4e021bcc56
Merge "Cancel existing preview item animation during non-animated update." into sc-dev am: 81501a563c am: aa560506ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164771
Change-Id: I89d96ed914f33f0803cf943d2b74a9482d4e6dcb
2021-07-01 18:48:34 +00:00
Sunny Goyal
cac11af5a1
Merge "Fixing some dimentions in AllSet activity" into sc-dev am: f3d3dcf4a1 am: 2e5176e51f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15160037
Change-Id: Ie2e2042efc2048e9d2d66a5fea40b5470b771359
2021-07-01 18:48:29 +00:00
Jonathan Miranda
35bcb6f40d
Merge "Fix bug where app icon is gone for first frame on cold start." into sc-dev am: 3334c32120 am: 1376feeb22
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164770
Change-Id: I2af5ce38052ad6eaf8234bfff93603e52f7e0e2d
2021-07-01 18:48:18 +00:00
Jonathan Miranda
0382ba2d27
Merge "Cancel existing preview item animation during non-animated update." into sc-dev am: 81501a563c am: b018ea34fe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164771
Change-Id: I87c9e1863a9bd7097b419bdeedbddc3c3b8beb04
2021-07-01 18:48:12 +00:00
Sunny Goyal
835dce9cde
Merge "Fixing some dimentions in AllSet activity" into sc-dev am: f3d3dcf4a1 am: ebd8b75a9e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15160037
Change-Id: Ide88a388dc866aef38e2bf4d7ceb7cff179a7799
2021-07-01 18:48:04 +00:00
Jonathan Miranda
e6f0509d1d
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: I38ace4adec4591e9259a8859ed547e1b951b922c
2021-07-01 18:36:20 +00:00
Jonathan Miranda
aa560506ba
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: I667763f65219cf259b8cf0db929d7dc0c848163e
2021-07-01 18:36:16 +00:00
Jonathan Miranda
1376feeb22
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: Ib47cb13c6af50c0c9d5c6ec285beca09e88f2d41
2021-07-01 18:35:36 +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
b018ea34fe
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: I2315f7c54cb98c32f2318ded19f7563f3709cb42
2021-07-01 18:35:27 +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