Samuel Fufa
b70317d837
Merge "Polish changes for work tab" into sc-dev am: 9010e773e4 am: 4ace63d141 am: d66d5c7b89
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15157942
Change-Id: If3c8f8a6f526299f8193b4fb8681e6f97bc8247c
2021-07-02 09:25:54 +00:00
Alina Zaidi
7cb2aff05c
Merge "Reduce margin for DropTargetBar to avoid buttons to be truncated." into sc-dev am: eefccccb19 am: c1565463bd am: 2891944a4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15155531
Change-Id: I4ef97ed229643d1ff43b75c728f6aed1f0901e32
2021-07-02 09:25:46 +00:00
Steven Ng
e792427ce6
[automerger skipped] Merge "Fix widget animation truncated at drop if a widget is resized" into sc-dev am: d9128413cc am: 0fcbd49f2a -s ours am: e13333c5bf -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: I2244cdbadb4f8307503fda32ba54def4c1bcaa30
2021-07-02 09:25:40 +00:00
TreeHugger Robot
6b2216e3ad
[automerger skipped] Merge "Correct color extraction on App Widget drop." into sc-dev am: 25e37a85ae am: 9cfbc67b70 -s ours am: 91948fc3d1 -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: If32b2485115187858dfcb900f9907941851d95db
2021-07-02 09:25:35 +00:00
Tracy Zhou
4d60e5c3f8
[automerger skipped] Enable live tile in 3 button mode am: 1fe5fda3d8 am: 52eb75bfee -s ours
...
am skip reason: Merged-In Iffaea18afb2179b5bb7dadda49e56efefa5658bc with SHA-1 1fe5fda3d8 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14254546
Change-Id: I8b78b2890df7b8b20f5a55db8734947ccfcaf6bd
2021-07-02 09:14:25 +00:00
Alex Chau
c872a62e80
Merge "Restore previous currentPage in applyLoadPlan in case task is re-ordered" into sc-dev am: 679f8bb9ca am: 4eabe23108
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15175270
Change-Id: I481f85ed398c7d5e9a5275d4cfd508d2c0c90883
2021-07-02 09:14:20 +00:00
Tracy Zhou
6e8053caa7
Merge "Do not switch to screenshot and finish recents animation for menu options that already do so" into sc-dev am: e54f789de9 am: ec5c2ea87e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15176734
Change-Id: I225f41ef4b52a085564d255e0d20edc616f01c6f
2021-07-02 09:14:16 +00:00
Jonathan Miranda
75c40f2c84
Merge "Fix bug where app icon is gone for first frame on cold start." into sc-dev am: 3334c32120 am: d156f372f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164770
Change-Id: I30f768e44bd50a06a8f6c74fa44b7ca069abd94b
2021-07-02 09:14:11 +00:00
Jonathan Miranda
b1ceab102e
Merge "Cancel existing preview item animation during non-animated update." into sc-dev am: 81501a563c am: a47a2017e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164771
Change-Id: Icb78fe5b9b24f8a7753cb56ab9d9d0ab456e3448
2021-07-02 09:14:06 +00:00
Sunny Goyal
75c953f1d2
Merge "Fixing some dimentions in AllSet activity" into sc-dev am: f3d3dcf4a1 am: 08fa7008b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15160037
Change-Id: Id708fae5c4006a541998bcc4c4fc87107f0b084c
2021-07-02 09:13:58 +00:00
Winson Chung
6e137295f7
Merge "Defer cleaning up screenshot until after we actually switch to screenshot" into sc-dev am: eb0a38c5f2 am: 277e9c83c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15160033
Change-Id: I5a712ae0761c2e2ba79d73a6e3c7f043f9b9e335
2021-07-02 09:13:49 +00:00
Cyrus Boadway
1fa71a10e6
Merge "Use nullable field and boolean rather than optional" into sc-dev am: 048a858575 am: c857d45d97
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15171711
Change-Id: Ifa4e8f09e5c088da79514db8c789226010d2b019
2021-07-02 09:13:35 +00:00
Samuel Fufa
d66d5c7b89
Merge "Polish changes for work tab" into sc-dev am: 9010e773e4 am: 4ace63d141
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15157942
Change-Id: Ibf00cbd81b531a68da76aefef9b1aacb43713402
2021-07-02 09:13:25 +00:00
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