Steven Ng
d50c07ea41
Merge "Use relative bounds for app widget color extraction" into sc-dev am: be397e85e8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15016211
Change-Id: I6b5a25b9e64d5c0712fdb4529fe7b181ade5bbf4
2021-06-18 09:17:07 +00:00
Steven Ng
be397e85e8
Merge "Use relative bounds for app widget color extraction" into sc-dev
2021-06-18 09:01:25 +00:00
TreeHugger Robot
b78b27cb1d
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b8ad5cb643 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15018630
Change-Id: I3c238b07732ccaede112e99ff2d0094b58bb7113
2021-06-18 01:51:50 +00:00
TreeHugger Robot
b8ad5cb643
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-06-18 01:32:01 +00:00
TreeHugger Robot
da4be4d78a
Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev am: 0877cdab7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15015470
Change-Id: I955b5d8f2db6940e29401c2af62cd82235103790
2021-06-18 01:19:01 +00:00
TreeHugger Robot
0877cdab7a
Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev
2021-06-18 00:56:52 +00:00
Steven Ng
058308098b
Use relative bounds for app widget color extraction
...
Fix 2 bugs in this CL
1. Before this CL, getBoundsForViewInDragLayer returns absolute bounds
for widgets. What we want is the bounds of a widget when it is
visible in the drag layer. ViewGroupFocusHelper#viewToRect has
taken PagedView into account. This makes it a prefect candidate to
calculate relative bounds of a widget.
2. requestLayout at the end of endDrag is problematic due to the drop
animation. If the drop animation is still in progress when onLayout
is called, the bounds of the widget isn't final. Since the color of
app widget right before is already the final color. We don't really
need to update the color extraction.
Test: Set the wallpaper and clock widget according to the bug. Then,
reboot the device. The clock widget color shown right after
reboot is the expected color. Long pressing the widget doesn't
cause a color change.
Fix: 191114337
Change-Id: I466c8102dba0e5b207b3768e0935472cbd523235
2021-06-17 23:25:57 +01:00
Vadim Tryshev
5e786cce68
Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev am: 26cd946f29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14991671
Change-Id: Idc247cda0081067529352bc389f8144de35eaf3e
2021-06-17 21:34:27 +00:00
Bill Yi
5f5b2e2558
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ie7cf7ee0a2fc1095e8e59bd41c7ebc5e0fec3678
2021-06-17 21:32:13 +00:00
Vadim Tryshev
26cd946f29
Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev
2021-06-17 21:02:24 +00:00
Samuel Fufa
4f597a42ff
Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev am: efa5df380c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002979
Change-Id: I5187da683a29b96610361cadfaa0931fed489913
2021-06-17 18:49:18 +00:00
Zak Cohen
360d81e308
Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev am: 1d5debd60d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15013549
Change-Id: Idac925cf7f1957a44a1817c7048d798b8773af80
2021-06-17 18:49:01 +00:00
Samuel Fufa
efa5df380c
Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev
2021-06-17 18:48:49 +00:00
Zak Cohen
1d5debd60d
Merge "Suppress ViewInflationDuringSwipeUp test." into sc-dev
2021-06-17 18:34:29 +00:00
Tony Wickham
d410a2c168
Ensure widgets header is out of the gesture region before clicking
...
This way, NexusLauncher won't appear during the Launcher3 test.
Test: AddConfigWidgetTest#testConfigCancelled
Bug: 188450580
Change-Id: Iedf0e0e17eab2473ecd2d17a4391cf9db3e80599
2021-06-17 17:49:54 +00:00
Winson Chung
4280926c7a
Merge "Do some additional cleanup when switching handlers" into sc-dev am: caabfa1519
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14985080
Change-Id: I6da674f1eec758bb5e2b8f1857a2fca57a92f6ea
2021-06-17 17:01:06 +00:00
Winson Chung
caabfa1519
Merge "Do some additional cleanup when switching handlers" into sc-dev
2021-06-17 16:48:42 +00:00
zakcohen
360489ff51
Suppress ViewInflationDuringSwipeUp test.
...
Test is failing on a subset of devices with a memory leak in an activity.
This is not repoing on other devices so could be a problem with the setup
rather than the code.
Bug: 190618549
Test: Local
Change-Id: I9c6a56432d1b1f59c337bf34e7b8c26befeb2d7d
2021-06-17 09:46:56 -07:00
Stevie Kideckel
ab605f3194
Merge "Refresh widgets in the model when packages change" into sc-dev am: 10d4edade1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15012535
Change-Id: I92b805f50e8e21509221e12485d94e3e94ee3dde
2021-06-17 15:18:25 +00:00
Stevie Kideckel
10d4edade1
Merge "Refresh widgets in the model when packages change" into sc-dev
2021-06-17 15:04:01 +00:00
Stevie Kideckel
69af278f8a
Refresh widgets in the model when packages change
...
Fix: 191163748
Test: local sample app
Change-Id: Ic09ad11cabf6efa471fb6e685cb255c4a17493ee
2021-06-17 13:08:53 +00:00
Steven Ng
e3009c9ca3
Merge "Deduct padding from widget size only if padding has been inset" into sc-dev am: 6ce6922c14
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002454
Change-Id: Ibf36f9eeab20cf666098e25ece9adb192185c283
2021-06-17 11:12:12 +00:00
Steven Ng
6ce6922c14
Merge "Deduct padding from widget size only if padding has been inset" into sc-dev
2021-06-17 11:00:33 +00:00
Yogisha Dixit
f67a8f25aa
Merge "Center drop target icons in landscape mode." into sc-dev am: 3287dd9fa7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14980961
Change-Id: Ibd3dceb63e21c75a116ef04a5cb805c6ae932e62
2021-06-17 09:45:45 +00:00
Yogisha Dixit
3287dd9fa7
Merge "Center drop target icons in landscape mode." into sc-dev
2021-06-17 09:34:42 +00:00
Steven Ng
8a3888e9de
Merge "Modify AT_LEAST_S check to include SDK int" into sc-dev am: 1184a03b08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15002455
Change-Id: I0b1fc90c8203006e1337ec37f393d8b59ad5799c
2021-06-17 09:19:00 +00:00
Steven Ng
7c4f1fd088
Merge "Fix PendingWidgetHostView overlapping UI" into sc-dev am: e8772c1659
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14980850
Change-Id: I8c73aa4d1391916a45e8dbf4c3d15c1ccbb2ce63
2021-06-17 09:18:55 +00:00
Steven Ng
1184a03b08
Merge "Modify AT_LEAST_S check to include SDK int" into sc-dev
2021-06-17 09:09:21 +00:00
Steven Ng
e8772c1659
Merge "Fix PendingWidgetHostView overlapping UI" into sc-dev
2021-06-17 09:08:15 +00:00
TreeHugger Robot
d4abfd0e8c
Merge "Fixes duplicate logging for LAUNCHER_ALLAPPS_KEYBOARD_CLOSED events." into sc-dev am: ea95f88361
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986815
Change-Id: Ia9caef464ab45db86bf788be2156201a25415635
2021-06-17 06:18:50 +00:00
TreeHugger Robot
ea95f88361
Merge "Fixes duplicate logging for LAUNCHER_ALLAPPS_KEYBOARD_CLOSED events." into sc-dev
2021-06-17 06:08:09 +00:00
TreeHugger Robot
99128d6a89
Merge "Add logging for tapped on 'Turn on/off work apps' button in all apps" into sc-dev am: 4f257655bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14989654
Change-Id: Ie3597b60ae5a8136b2635a14f466bd708fb8c055
2021-06-17 05:40:15 +00:00
TreeHugger Robot
4f257655bd
Merge "Add logging for tapped on 'Turn on/off work apps' button in all apps" into sc-dev
2021-06-17 05:25:49 +00:00
TreeHugger Robot
f433ac0b48
Merge "Fix broken app icon on restart during install." into sc-dev am: 3115a4380b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15003917
Change-Id: Icf20816c888986815590d798278a5e738a99fec1
2021-06-17 01:28:50 +00:00
TreeHugger Robot
3115a4380b
Merge "Fix broken app icon on restart during install." into sc-dev
2021-06-17 01:11:53 +00:00
Thiru Ramasamy
95b09f9067
Fixes duplicate logging for LAUNCHER_ALLAPPS_KEYBOARD_CLOSED events.
...
Bug: 178562918
Test: Manual
Change-Id: Id32b621c0f506bba4378f6f6b81d7cfece3cb373
2021-06-17 00:05:56 +00:00
Thiru Ramasamy
6f0e75740f
Add logging for tapped on 'Turn on/off work apps' button in all apps
...
Bug: 190050582
Test: Manual
Change-Id: Ib83fba6dc9199ba40a500e0743c0e64cc4d4d0a0
2021-06-16 17:03:49 -07:00
TreeHugger Robot
47ef5bd7ec
Merge "Prevents a ConcurrentModificationException in Widget" into sc-dev am: 3a37543fb9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15001812
Change-Id: I88e3f5304799ce477aea15a6ca25a3adc15f9778
2021-06-16 23:58:51 +00:00
Schneider Victor-tulias
bcd72a7b32
Fix broken app icon on restart during install.
...
Fixes: 186610233
Test: manual with backup/restart and restart during install
Change-Id: Ic64bd98758bc2e1a2a1562579cb25de02faa624c
2021-06-16 16:47:45 -07:00
TreeHugger Robot
3a37543fb9
Merge "Prevents a ConcurrentModificationException in Widget" into sc-dev
2021-06-16 23:43:29 +00:00
TreeHugger Robot
32e6222f33
Merge "Fix bug where preview item icon fades/disappears for a frame during" into sc-dev am: 0bf000104f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14985104
Change-Id: I8ce1e82cd4214df9afafb9c98aaec27e600c3c56
2021-06-16 23:38:47 +00:00
TreeHugger Robot
0bf000104f
Merge "Fix bug where preview item icon fades/disappears for a frame during" into sc-dev
2021-06-16 23:24:58 +00:00
Steven Ng
71cefb593f
Deduct padding from widget size only if padding has been inset
...
Test: Set the grid to 4x5 (without padding) and verify the min / max
size sent to Conversation widget is expected.
Bug: 190498032
Change-Id: I8ef6e5d897ebd0e2ea9af4497b00059c8dfad70a
2021-06-17 00:15:52 +01:00
Steven Ng
7e31e9b267
Modify AT_LEAST_S check to include SDK int
...
BuildCompat.isAtLeastS() in Launcher dependency only checks if the
code name is "S". In the recent version of Android, the code name has
changed to "REL".
Test: Open Widgets picker, expand Conversations and observe a preview
layout is shown.
Fix: 191239040, 191216821
Change-Id: I6a6e647d4cb327d251bde3484ea2d2e79c0f86f5
2021-06-16 23:56:38 +01:00
TreeHugger Robot
447b5aa442
Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490
Change-Id: I48fe2734fb01fd7a66796a1d8dbc9a515290901c
2021-06-16 22:38:21 +00:00
Samuel Fufa
d04a92d1ed
Refactor FolderInsetAnimationCallback to be used with any view
...
- Update ic_corp_off icon to outline
- Remove shadow from work toggle
- Translate work fab when keyboard is shown
Screenshot: https://screenshot.googleplex.com/593tEg7bE4kSS4y
Bug: 191251404
Bug: 191250785
Test: local
Change-Id: Ie7dddfd17eb90575a1e1f67e281070dd8d268f8d
2021-06-16 17:25:53 -05:00
TreeHugger Robot
4176cb33bb
Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev
2021-06-16 22:25:41 +00:00
Jonathan Miranda
d1698783b6
Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097
Change-Id: Ib3e5371294b30b66765725d9186d0577456bbaeb
2021-06-16 21:06:43 +00:00
Pinyao Ting
9cd63c97ce
Prevents a ConcurrentModificationException in Widget
...
InvariantDeviceProfile.supportedProfiles can be modified in respect to
configuration changes. This CL ensures the list was cloned before access
to prevent ConcurrentModificationException
Bug: 191231591
Test: manual
Change-Id: I123458dcfe99af4babca2cf73733e3d2af0fad3c
2021-06-16 21:02:48 +00:00
Jonathan Miranda
f89c4280b3
Merge "Update launcher text to match specs." into sc-dev
2021-06-16 20:51:48 +00:00