Alex Spradlin
fc89cdfce4
[automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours am: dfb73707c4 -s ours
...
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.
Reverted change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14923132
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14920673
Change-Id: I4040483db1251062b77b5be7d798fa7068fbecc0
2021-06-09 20:14:58 +00:00
Jon Miranda
b581582a9c
[automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37 am: d997f9957d -s ours
...
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127
Change-Id: I6f44a01322735d30bc3d8318e0d625968a4fd363
2021-06-09 20:14:26 +00:00
Alex Spradlin
6c7752625e
[automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours am: 4d6b4665b1 -s ours
...
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.
Reverted change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14923132
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14920673
Change-Id: I11705d9925cadb4aa0c2aaaf15b8499ea5e41675
2021-06-09 20:14:01 +00:00
Jon Miranda
8b38024f05
[automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37 am: 7f721c7fda -s ours
...
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 b62fba0d01 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127
Change-Id: I604e0597b3b4570a85e0e1df5506009c764153f4
2021-06-09 20:13:56 +00:00
Alex Spradlin
dfb73707c4
[automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours
...
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.
Reverted change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14923132
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14920673
Change-Id: I0b8bdf6cc00750811e041bcc864660fa2fa4ab8f
2021-06-09 19:58:39 +00:00
Jon Miranda
d997f9957d
Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127
Change-Id: I0b07eb2d2a7838d35f3b70e8059daa3d483bc267
2021-06-09 19:58:34 +00:00
Alex Spradlin
4d6b4665b1
[automerger skipped] Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3" am: 1aa95b8400 -s ours
...
am skip reason: Merged-In I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 with SHA-1 6a7a7f6bad is already in history. Merged-In was found from reverted change.
Reverted change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14923132
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14920673
Change-Id: Idc27b6e16f539702cacf917fc495d04182d96703
2021-06-09 19:58:08 +00:00
Jon Miranda
7f721c7fda
Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127
Change-Id: I2813a0e56b5469fd2e9e0d630a42cbd4000d7028
2021-06-09 19:58:04 +00:00
Alex Spradlin
1aa95b8400
Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3"
...
This reverts commit 1d41f93c37 .
Reason for revert: Accidental submission
Change-Id: I3adaefa202ccbd027083a8fe1b5df349172de9a6
2021-06-09 19:44:31 +00:00
Jon Miranda
1d41f93c37
Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127
Change-Id: I212eb6d6b35459087fe894fe057d6a4a4901f674
2021-06-09 19:36:09 +00:00
Jon Miranda
5785789dc3
Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127
Change-Id: I309d1c1671abc7b2a035e69606d14e1f90c17f71
2021-06-09 18:43:10 +00:00
Jon Miranda
3c3e3e0737
Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14651127
Change-Id: I6416a7a9e9639a6881d54314a26fafa2c1ed4cfa
2021-06-09 17:57:36 +00:00
Samuel Fufa
08cca82eca
[AllApps][Work] Introduce work toggle Fab
...
Screenshot: https://screenshot.googleplex.com/C4r7kKPxv3PKdyN
Bug: 186856928
Test: on-device
Change-Id: I69ffa0ef367b182688e69c730fc9dee1afa7cadd
2021-06-09 17:13:07 +00:00
Lucas Dupin
14e1f2a6bb
Merge "Update blur radius" into sc-dev
2021-06-09 15:32:35 +00:00
Lucas Dupin
76877fda73
Update blur radius
...
Bug: 189976220
Test: manual
Change-Id: If5e6d6be7314dacfad8c501a5ae2da6556ca3cea
2021-06-08 21:51:47 -07:00
TreeHugger Robot
962b212c9e
Merge "Fix wrong highlighted personal | work tab" into sc-dev
2021-06-09 02:41:40 +00:00
Shawn Lin
f0ebf00394
Merge "Play the nav bar animation for app launch from recent in live tile" into sc-dev
2021-06-09 01:39:49 +00:00
TreeHugger Robot
93e232a57b
Merge "Re-enable swipe up view inflation test." into sc-dev
2021-06-09 00:47:11 +00:00
TreeHugger Robot
e57006fe63
Merge "[AA+] Reset search manager when exiting all apps." into sc-dev
2021-06-08 21:50:31 +00:00
zakcohen
284eef2bf9
Re-enable swipe up view inflation test.
...
Disable chips by default as they are not plan of record for launch.
Bug: 141579810
Test: Local and ran test
Change-Id: Iae270c6ac4bbec4f7c29b1137cf926383443e85e
2021-06-08 14:24:20 -07:00
TreeHugger Robot
827ff401b9
Merge "Set folder dot color to spec." into sc-dev
2021-06-08 19:39:33 +00:00
Steven Ng
4716ab3037
Merge "Use WidgetSizes to estimate widget size instead of custom calculation" into sc-dev
2021-06-08 19:11:25 +00:00
Steven Ng
84fe7e3a1e
Merge "Exact widget sizes functionalities into an utility class" into sc-dev
2021-06-08 18:55:07 +00:00
Samuel Fufa
e721f7272c
Fix wrong highlighted personal | work tab
...
Bug: 189915880
Test: Manual
Change-Id: I3e8687038d4f0bfdd1c5b7d8c444520730a2bcd4
2021-06-08 13:31:40 -05:00
Jon Miranda
9b4448f477
Set folder dot color to spec.
...
Bug: 188095988
Test: manual
Change-Id: Idf4d7f7b8f95d1d112ece8cd03d9c7d441a5fe0f
2021-06-08 10:55:58 -07:00
Steven Ng
eb1617521c
Merge "Use grid size as the upper bound for widgets' default size in initSpans" into sc-dev
2021-06-08 14:48:29 +00:00
Steven Ng
1d47d8c705
Use grid size as the upper bound for widgets' default size in initSpans
...
Test: In Pixel 4, drag a monthly view Google calendar widget to a new
home page from the full widgets picker. The widget outline is
correctly shown.
Bug: 189060113
Change-Id: I33113b29cc8923098de95f1d5eb14c2b02429de1
2021-06-08 14:15:50 +01:00
Wei Sheng Shih
c3db44bbce
Merge "Pre-set splash screen as icon-style when launch activity from Launcher." into sc-dev
2021-06-08 12:16:24 +00:00
Steven Ng
7e06df2b50
Use WidgetSizes to estimate widget size instead of custom calculation
...
Also fix 2 bugs in WidgetCell
1. preview layout: padding is added to the AppWidgetHostView rather
than the preview container. We shouldn't add padding to the size
of the preview container.
2. widget_preview_shortcut_padding is a padding added to shortcuts but
not widgets.
Test: Open full widgets picker and observe widgets are rendered
correctly in the widgets recommendation table. Also, observe
the generated bitmap images are correctly rendered.
Run AddWidgetTest.
Bug: 189975670
Change-Id: I00db3200e0b61dc5e82f3c4bfdf34e197ea20314
2021-06-08 11:48:11 +01:00
Steven Ng
22b6039270
Exact widget sizes functionalities into an utility class
...
Test: resize widget, move widget, add widget.
Bug: 189975670
Change-Id: Ia0bc2297891e1cfa33697e985064db5d1dcdfc8b
2021-06-08 11:42:48 +01:00
TreeHugger Robot
77afcf32f3
Merge "DO NOT MERGE" into sc-dev
2021-06-08 08:46:55 +00:00
Stevie Kideckel
acf27b6d64
Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev
2021-06-08 08:37:25 +00:00
Stevie Kideckel
fd9bfd3aab
Fix accounting for the position/offset of headers with collapsing views
...
The offset should be taken before views are modified, the position
should be taken after. This fixes an off by one issue when expanding a
header below another already expanded header.
Bug: 183378651
Test: verified locally
Change-Id: I4987d57846d7bcde23b76280f800f19350b3521e
2021-06-08 07:08:42 +00:00
thiruram
ea56f849c2
[AA+] Reset search manager when exiting all apps.
...
This is required to log search session exits properly, especially when exiting AllApps without clearing search query.
Bug: 178562918
Test: Manual
Change-Id: Id4c1007b051e9efd9ae5929c274a70cf3ae3cbf1
2021-06-07 17:14:24 -07:00
zakcohen
1fb6718c85
DO NOT MERGE
...
Use focused task id for getting task size
When getting the selected task size, look at the focused task id, not
the running task id.
I believe this was a typo from the original change.
Bug: 190399315
Test: Local build and flash and run
Change-Id: Ice92e0562765f4f0142e27da0c38140df4c11425
2021-06-07 23:29:11 +00:00
Tony Wickham
26ab4621ce
Have AlphaUpdateListener update visibility in onAnimationEnd()
...
Previously we were only updating visibility in onAnimationSuccess(), which doesn't handle the canceled case.
Test: swipe up from nav bar twice in all apps, ensure all apps is invisible/non-interactable
Bug: 190315266
Change-Id: Ic59e6d4b404de4ee2d17c45d6fa59e2aee70c65f
2021-06-07 22:16:22 +00:00
Jonathan Miranda
93c0cfadb1
Merge "New folder icon style (uncropped icons)." into sc-dev
2021-06-07 21:48:50 +00:00
Steven Ng
0062822976
Merge "Fix preview layout crash upon screen rotation" into sc-dev
2021-06-07 20:38:39 +00:00
Jay Aliomer
4049f539c2
Merge "Improve local color extraction handling." into sc-dev
2021-06-07 19:45:13 +00:00
TreeHugger Robot
ab8543e11a
Merge "Make status bar icons visible in pin widget dialog scrim." into sc-dev
2021-06-07 19:33:14 +00:00
Steven Ng
db4ec8ac1a
Fix preview layout crash upon screen rotation
...
Preview layouts are rendered via LauncherAppWidgetHostView. These
layouts are not yet added to the launcher. And thus, there is no
LauncherAppWidgetInfo.
Test: When a preview layout is shown in the recommended widget section,
rotate the screen. No crash is observed.
Bug: 190395009
Change-Id: Ib1d080a106681fbfe3a4293f9f51f9576ef9414b
2021-06-07 18:55:47 +01:00
Alina Zaidi
2e4d15d2b5
Make status bar icons visible in pin widget dialog scrim.
...
Use dark icons on status bar in light mode.
Bug: 189389865
Test: tested manually
Change-Id: I121fb59f52a9062ee301e1db3d8a3a7e9139ed5a
2021-06-07 18:22:55 +01:00
Hyunyoung Song
02b62ed6fe
Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev
2021-06-07 14:49:50 +00:00
Pierre Barbier de Reuille
7fca870571
Improve local color extraction handling.
...
Local color extraction doesn't happen if the wallpaper is not currently
visible, so we don't need to add/remove the locations when the widget is
visible/hidden.
Also now compare the locations with some approximate measure, to account
for possibly slightly different calculations during drag vs drop.
Fix: 189827568
Test: Install Clock or test widgets and try to move them: the color are applied correcly.
Change-Id: Ib2a08bb0552c75bd351868e4fd5b5df8b8b732b2
2021-06-07 13:01:28 +01:00
Alina Zaidi
25788e9635
Merge "Adjust Widgets education dialog size when in landscape" into sc-dev
2021-06-07 09:11:25 +00:00
shawnlin
60b97de72b
Play the nav bar animation for app launch from recent in live tile
...
Bug: 189278432
Test: manual - launch an app from recent in live tile mode
Change-Id: I9a39cdbbe0b8b9ee6d11a3ee53936d2fea699dd8
2021-06-07 16:46:44 +08:00
TreeHugger Robot
ca0a3bf723
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2021-06-07 07:05:05 +00:00
Bill Yi
db79a9f3cd
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ie4d81f7b28e3ae813bdde9fabd90872a3929187b
2021-06-07 05:37:28 +00:00
wilsonshih
0fe2342445
Pre-set splash screen as icon-style when launch activity from Launcher.
...
Specify icon style splash screen when launch activity from Launcher.
Bug: 188023621
Bug: 189293785
Test: Start application from Launcher/Recents.
Change-Id: I13b7cd67576cf8822e86ff90971d6bb1a24d1a91
2021-06-07 11:58:45 +08:00
Winson Chung
6420de7762
Merge "Workaround for apps to stop before removing the task" into sc-dev
2021-06-07 03:27:19 +00:00