Commit Graph

34630 Commits

Author SHA1 Message Date
Jonathan Miranda 7b3816cdeb [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 89e9723fcb -s ours am: 20a582167a -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: Id96cbb627cca6ee7254887f68607e607d97c6c6a
2021-06-10 20:59:36 +00:00
Jonathan Miranda 43cf4563ed [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 8d398a8892 -s ours am: babf48c636 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I460320305b6a0b822bd642fc0c93de91a798af8e
2021-06-10 20:59:28 +00:00
Alina Zaidi 1fbf9200f1 Merge changes I5d1c9e4b,I08154c94 into sc-dev
* changes:
  Flip ArrowTipView when it goes beyond screen height.
  Add more education tips for widgets. (3/3)
2021-06-10 20:46:20 +00:00
Santhosh Thangaraj 192924459b Fix the page number based Seen impression.
Test: On device.
Bug: 183117427
Change-Id: Ic1b11fb7630f60f11387951749420653aa3f0c8a
2021-06-10 20:44:09 +00:00
Jonathan Miranda 20a582167a [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 89e9723fcb -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I8364b723afd3e249e6eb1a4df26f6ec8072ba310
2021-06-10 20:42:28 +00:00
Jonathan Miranda babf48c636 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours am: 8d398a8892 -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: Ib3ea4f1bc6f1ab3a01614a8b19922781c0f2b8f6
2021-06-10 20:42:09 +00:00
Zak Cohen e3ae74943c Merge "Suppress failing view inflation tests until investigation" into sc-dev am: 20832e64a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14938006

Change-Id: I0aacc8114111bc792a98129f0c8455d41b123b5c
2021-06-10 20:37:19 +00:00
Jonathan Miranda 89e9723fcb [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I80264e65cc5f5aff4bed3136bab84b12e445a968
2021-06-10 20:26:27 +00:00
Jonathan Miranda 8d398a8892 [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours am: d11638739c -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I2db3d09a547d2633a4242f479c555c5df93a9e0e
2021-06-10 20:25:59 +00:00
Zak Cohen 20832e64a4 Merge "Suppress failing view inflation tests until investigation" into sc-dev 2021-06-10 20:06:17 +00:00
Jonathan Miranda d11638739c [automerger skipped] Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a am: 209035afce -s ours
am skip reason: Merged-In I70acd4ce48853be728be1fb80b4b885d00a059a9 with SHA-1 5af0edefdb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: Ifa305375e8cc4eb32d9d09f6c780613727d14940
2021-06-10 20:04:21 +00:00
Jonathan Miranda 209035afce Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7 am: 4401663f4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I87759b61b2744db4792e46b7b0907dd3fad0e5b1
2021-06-10 19:40:30 +00:00
TreeHugger Robot c9565c2444 Merge "Add a content description for the widget reconfigure button." into sc-dev am: 0dfabe0a1e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690881

Change-Id: Iec5619e8b03da7239a5200dfa5acd45a75dea2af
2021-06-10 19:27:03 +00:00
Jonathan Miranda 4401663f4a Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 89299047d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936503

Change-Id: I8c2e58a032fea1b556a32079aed32efe11ab2139
2021-06-10 19:23:41 +00:00
Jon Miranda 32ff76cb4e Adding color back to popup container.
For Color exctraction now occurs in groups:
- System shortcuts
- Deep shortcuts
- Notifications

For home setting popup, each DeepShortcutView will have its own
extracted color.

Bug: 188095443
Test: manual
Change-Id: I7e209f863ff180b8f017aeb2a73c6f1a51842e68
2021-06-10 19:15:24 +00:00
TreeHugger Robot 0dfabe0a1e Merge "Add a content description for the widget reconfigure button." into sc-dev 2021-06-10 18:39:04 +00:00
Steven Ng 9c6b9c311d Merge "Fix height estimation of the widgets recommendation table" into sc-dev am: d4bae086d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14937090

Change-Id: I64a55365b1e1a50104b6d4199c5a153f4bde3299
2021-06-10 18:30:24 +00:00
Steven Ng d4bae086d3 Merge "Fix height estimation of the widgets recommendation table" into sc-dev 2021-06-10 18:11:45 +00:00
zakcohen 139a54f20e Suppress failing view inflation tests until investigation
Widget parts of ViewInflationDuringSwipeUp are failing on some devices,
looks like a test architecture problem, not a code failing problem.


Bug: 190729479
Test: Ran remaining tests
Change-Id: I7598f381053f7136b2fcd861ec73d2fda239bb8d
2021-06-10 10:39:32 -07:00
Jonathan Miranda 89299047d7 Forward fix for: Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
Bug: 179289753
Bug: 183927137
Test: restore phone and ensure broadcast is sent

Change-Id: I60e179d35957309f404937473fb5272f115b65ce
Merged-In: I70acd4ce48853be728be1fb80b4b885d00a059a9
2021-06-10 17:03:30 +00:00
Pat Manning 3fd1188651 [automerger skipped] Merge "[DO NOT MERGE] Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-dev am: 09a102b89d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14817818

Change-Id: Ic127377dcd3322e354d4a4683a84a2a030e93542
2021-06-10 16:33:43 +00:00
Pat Manning 09a102b89d Merge "[DO NOT MERGE] Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-dev 2021-06-10 16:30:44 +00:00
Ryan Savitski 177be58138 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 5bd2f65258 -s ours am: f2947b8a06 -s ours
am skip reason: Merged-In I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394 with SHA-1 afa327d176 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: I4ff69e396c7f49a9c394724be703246101160a73
2021-06-10 16:29:06 +00:00
Ryan Savitski f1bce40581 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: 55e7fc6841 -s ours am: 33c40bfbf3 -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/+/14936970

Change-Id: Icde5542495ff81c3be05f856feb7d8221f7bfd63
2021-06-10 16:29:05 +00:00
Ryan Savitski 0595b13cbb [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 04dd2e4f9b -s ours am: 3c87d08394 -s ours
am skip reason: Merged-In I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394 with SHA-1 afa327d176 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: Idead8d8f0a38f6c24c3690b771495dc221a5ea37
2021-06-10 16:28:55 +00:00
Ryan Savitski eab0feb5cf [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: ad9addd590 -s ours am: b0cb9e75e4 -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/+/14936970

Change-Id: I83639a730906f524eb7f099486885369dfed1f44
2021-06-10 16:28:54 +00:00
Ryan Savitski f2947b8a06 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 5bd2f65258 -s ours
am skip reason: Merged-In I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394 with SHA-1 afa327d176 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: I2ca39e2c1fe1a419f170b133f2dde8b7c7e184a0
2021-06-10 16:16:26 +00:00
Ryan Savitski 33c40bfbf3 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: 55e7fc6841 -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/+/14936970

Change-Id: Ia4831447289e414247ddf490e0beb505f3b72e08
2021-06-10 16:16:25 +00:00
Ryan Savitski 3c87d08394 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb am: 04dd2e4f9b -s ours
am skip reason: Merged-In I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394 with SHA-1 afa327d176 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: Ic56b6be86962c48dfa6e878024368a536c486377
2021-06-10 16:15:59 +00:00
Ryan Savitski b0cb9e75e4 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -s ours am: ad9addd590 -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/+/14936970

Change-Id: Ia4aba271856a449a7119220a6f4b3cf91227db0e
2021-06-10 16:15:57 +00:00
Ryan Savitski 5bd2f65258 Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: I4259af112c4c59f4537fe785982369b9937525bd
2021-06-10 16:00:06 +00:00
Ryan Savitski 55e7fc6841 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -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/+/14936970

Change-Id: I06e7124fd696e419e531d3fc2ab983c86f1459be
2021-06-10 16:00:05 +00:00
Ryan Savitski 04dd2e4f9b Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 5af0edefdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14936971

Change-Id: Ia57de8ee289f2cef2af64fe0bdeff5c99aef12d5
2021-06-10 15:59:37 +00:00
Ryan Savitski ad9addd590 [automerger skipped] Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip> am: b1b76c34f5 -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/+/14936970

Change-Id: Ia0c3dee0bbab4383825e91fffd4b24acc0cb166d
2021-06-10 15:59:36 +00:00
Steven Ng bc5099e9a6 Fix height estimation of the widgets recommendation table
There are two vertical paddings
1. Table padding
2. Widget cell padding

We haven't taken account the widget cells padding

Test: Manual
Bug: 189814077
Change-Id: I9b1dc9e880d4402b9c461d0024a0748c0afc408a
2021-06-10 16:57:40 +01:00
Tony Wickham 51edca003c Merge "Reorganize taskbar controllers" into sc-v2-dev 2021-06-10 15:38:00 +00:00
Stevie Kideckel 1059c30f3a Account for header margin depending on which header is selected
This removes jitter from incorrectly counting or not the margins for the
headers near the top of the widget picker list.

Bug: 189956230
Test: verified locally
Change-Id: I3eeddbf8a1fb7cca31fe2a12c28b0eb444de631b
2021-06-10 15:29:46 +00:00
Ryan Savitski 5af0edefdb Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
Fixing build by getting rid of the erroneously merged conflict markers,
and applying the end state of ag/14651125.

Bug: 183927137
Merged-In: I881a2b79462e8d420b3dcb6a6b98adbe9e8e0394
Change-Id: I70acd4ce48853be728be1fb80b4b885d00a059a9
2021-06-10 15:51:50 +01:00
Ryan Savitski b1b76c34f5 Revert "Revert "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. <snip>
This reverts commit 1aa95b8400.

Reason for revert: automerger got confused by the revert of a merge, and
skipped it downstream.

NB: resending this as a standalone patch, NOT generated via Gerrit's
"revert" functionality, to avoid confusing AM further (I'm told there
are hidden tags involved).

IGNORE_MERGE_CONFLICT_CHECK=="trying to fix the build, see the rest of the topic"

Since the revert was skipped downstream, using a merged-in tag to also
stop this change from propagating.

Bug: 183927137
Merged-In: I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2
Change-Id: I541eeb1cc1b589dc0134a5e2e4c16be9f658fbbb
2021-06-10 15:50:37 +01:00
Alina Zaidi dca47432fc Flip ArrowTipView when it goes beyond screen height.
Bug: 185354491
Test: Manually tested tips in widget picker, all apps, and
reconfigurable widgets tip.

Change-Id: I5d1c9e4b8bc3ae89834bc198016ffa409a2b28ad
2021-06-10 15:43:30 +01:00
Alina Zaidi ecdf6575ec Add more education tips for widgets. (3/3)
Show tip on reconfigurable widget in launcher.

Bug: 185354491
Test: Manually tested tips in widget picker, all apps, and
reconfigurable widgets tip.

Change-Id: I08154c944285cac6a21c3ef4aafd878bbbccf44b
2021-06-10 14:23:47 +01:00
Takeshi Hagikura 43d53432aa Update the colors of the tabs of work profile pagination
Update the tab colors based on the discussion in the bug and the
design mock.
Rename the color/all_apps_tab_bg to
color/all_apps_tab_background_selected to make the usage of the color
explicit.
(Confirmed it's only used for the color of the selected tab)

Bug: 189488670
Test: Visual inspection
Change-Id: I6ac38f71a8dd8852e1ab2e70f2f8434e9101daa1
2021-06-10 18:55:59 +09:00
Vinit Nayak 1e846622c7 Merge "Check for null shortcut before adding new split select options" into sc-v2-dev 2021-06-10 05:38:34 +00:00
Hyunyoung Song 93652af586 Merge "Revert the squish translate from all apps" into sc-dev am: 8f3d9eba02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14921510

Change-Id: I334d8dce46078223f7302e4dfdcafa9727e57230
2021-06-10 04:07:27 +00:00
Hyunyoung Song 8f3d9eba02 Merge "Revert the squish translate from all apps" into sc-dev 2021-06-10 03:53:33 +00:00
Yogisha Dixit c0f29c6f95 Add a content description for the widget reconfigure button.
Bug: 186761890
Test: manual
Change-Id: Ia36972b606a524827ade8bd1c191f8b972bbb382
2021-06-09 22:47:40 +01:00
Vinit Nayak be00d16934 Check for null shortcut before adding new split select options
Bug: 190494300
Test: Manual
Change-Id: I8fe2b2fa0b1d9d4300b0bc306aa2e0667e5faa1c
2021-06-09 14:21:24 -07:00
Alex Spradlin a6b92660d8 [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: fc89cdfce4 -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: Ief85c66d1c1104cfac8081f5beb9f8388b08c3a3
2021-06-09 20:34:01 +00:00
Jon Miranda 532ddaeb85 [automerger skipped] Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. am: 6a7a7f6bad am: 3c3e3e0737 am: 5785789dc3 am: 1d41f93c37 am: d997f9957d -s ours am: b581582a9c -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: I332133457545efd0675fac38373165599b0dec70
2021-06-09 20:33:57 +00:00
Alex Spradlin 9d4d5f75e9 [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: 6c7752625e -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: Ia79355a6cc11fe14ee1f89db3728b3b5dec39eb0
2021-06-09 20:33:50 +00:00