Commit Graph

58436 Commits

Author SHA1 Message Date
Winson Chung a7d7f78c08 Defer cleaning up screenshot until after we actually switch to screenshot
- In the case where we get a screenshot on cancel, we should wait to
  finish the recents animation until the view gets a chance to update

Bug: 185643608
Test: Swipe up to overview in 2 button, hit home
Change-Id: I2ac3567006f6fa7e6f473499f6862e5e408dfc3d
2021-06-30 12:03:33 -07:00
Jon Spivack 4e0bc773c8 Merge "NIU Actions: Add privacy confirmation dialog" into sc-dev 2021-06-30 18:59:50 +00:00
Yogisha Dixit 8235d49e74 Merge "Log widgets source." into sc-dev am: f9acf1d5d4 am: 669bac8bd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690879

Change-Id: I5b2fe5baebd5f38e897412523f3920ff22054247
2021-06-30 18:47:29 +00:00
Yogisha Dixit ba28286260 Merge "Log widgets source." into sc-dev am: f9acf1d5d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690879

Change-Id: I2fa39b66ca31549f7754657b7d3bde6bdf8a5f59
2021-06-30 18:33:44 +00:00
Yogisha Dixit 669bac8bd6 Merge "Log widgets source." into sc-dev am: f9acf1d5d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690879

Change-Id: Ib47b6d3aaacaa30c723dafeeb65492510a150eb2
2021-06-30 18:32:53 +00:00
Yogisha Dixit f9acf1d5d4 Merge "Log widgets source." into sc-dev 2021-06-30 18:18:12 +00:00
Pierre Barbier de Reuille 43e17301c4 Correct color extraction on App Widget drop.
Disable color extraction on drop until the workspace is back to its
normal size, then re-enable it and force re-coloring. This needs to
happen if the drop is on the workspace, but also if the drop is on the
secondary target.

Fix: 192354264
Test: Manual, see bug for details.
Change-Id: I79203f68843d59384503aa76f4813d886e98afa3
Merged-In: If573641e4bb5a98ed6b5008e00f70f4bbe492c24
2021-06-30 18:50:41 +01:00
Yogisha Dixit 658c5dafd4 Log widgets source.
Test: manual
(1) Upgrading to new DB version is successful (no errors thrown in logcat)
(2) Widgets that were added with the old DB version have CONTAINER_UNKNOWN as their source container
(3) Widgets that are added with the new DB version still log source container after reboot
Bug: 185778648
Change-Id: Iaa38f0be6bc4cb0d29842f9a2ea0d08de000c930
2021-06-30 17:48:14 +00:00
Vinit Nayak 3da704144f Merge "Take margin insets into account when setting position" into sc-dev am: 0f3053ceae am: 7f5fa6d1e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15152173

Change-Id: I3b1b26c0a14591bee4cda39e6a0552508208647d
2021-06-30 17:35:48 +00:00
Yogisha Dixit 4d744724a4 Merge "Log widget features to new features field." into sc-dev am: f91abaa6f9 am: aacc518984
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133002

Change-Id: I0747f118ab9a0a0e5f2532c1b2050fb9f1c924e2
2021-06-30 17:35:42 +00:00
Vinit Nayak 0a708332b8 Merge "Take margin insets into account when setting position" into sc-dev am: 0f3053ceae am: 0a740a074a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15152173

Change-Id: If8a9fc5ddb10538c008181e71e78cd990c1cb644
2021-06-30 17:34:42 +00:00
Yogisha Dixit 9d096bb34c Merge "Log widget features to new features field." into sc-dev am: f91abaa6f9 am: 1e143f2c6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133002

Change-Id: Ib396bb1b4afc661f0df417107c3da6344cc5268c
2021-06-30 17:34:34 +00:00
Tracy Zhou e9e5e51d73 [Live Tile] App surface is above launcher even after reaching Overview
Currently we place app surface below launcher and punch a hole through task view to display live tile in overview. In this change the order will be flipped, with a few benefits not limited to the following. For example, we have a surface view lifecycle bug where the surface view in a live tile app can go blank during app launch transition. This change will significantly mitigate the issue visually as the background wallpaper will not be revealed.

In order to make sure visually everything still looks the same, we will need to finish the recents animation when the user taps on the task view icon, since the menu overlaps with the task snapshort view.

This change also addresses fading out the task view when it's getting dismissed.

Test: manual
Fixes: 186531762
Fixes: 189265196

Change-Id: Ieae67fb89b60136fd81ceb8abde1a0cab8718b27
2021-06-30 17:34:13 +00:00
Vinit Nayak 0a740a074a Merge "Take margin insets into account when setting position" into sc-dev am: 0f3053ceae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15152173

Change-Id: Ib3639aeb91dabbb4283d21e3e6cb6da69af08d23
2021-06-30 17:34:03 +00:00
Cyrus Boadway 5d52c966ff Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev am: 1edaed8790 am: 9d609707c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147896

Change-Id: I43eaf2c84bd97f07c78664c21f75010db510fff3
2021-06-30 17:33:44 +00:00
Cyrus Boadway 8cf91e4bcc Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev am: 1edaed8790 am: f5f23ba119
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147896

Change-Id: Ibea99f93bd4047de977566282d3fe567e62cfdc3
2021-06-30 17:33:22 +00:00
Vinit Nayak 7f5fa6d1e6 Merge "Take margin insets into account when setting position" into sc-dev am: 0f3053ceae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15152173

Change-Id: Ic1ce3fbd0e68848a7095f3408d877117b0678adb
2021-06-30 17:32:59 +00:00
Vinit Nayak 0f3053ceae Merge "Take margin insets into account when setting position" into sc-dev 2021-06-30 17:29:44 +00:00
Yogisha Dixit 1e143f2c6b Merge "Log widget features to new features field." into sc-dev am: f91abaa6f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133002

Change-Id: Ib0e8d40b2b09d1b090f7968cce73fbafde5534c2
2021-06-30 17:28:34 +00:00
Yogisha Dixit aacc518984 Merge "Log widget features to new features field." into sc-dev am: f91abaa6f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15133002

Change-Id: Ia2f5626249f63f7d6aa28b7646e0cbb230bb7ce8
2021-06-30 17:26:59 +00:00
Yogisha Dixit f91abaa6f9 Merge "Log widget features to new features field." into sc-dev 2021-06-30 17:25:46 +00:00
Cyrus Boadway f5f23ba119 Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev am: 1edaed8790
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147896

Change-Id: I93c3c42dc173182c7625dea719bbc540a544234a
2021-06-30 17:24:57 +00:00
Cyrus Boadway 239e0b5408 Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev am: 1edaed8790
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147896

Change-Id: I99610b251d570b96e29dec44a3b918e413ec0918
2021-06-30 17:24:03 +00:00
Cyrus Boadway 9d609707c1 Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev am: 1edaed8790
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147896

Change-Id: I9849c410aa7058ff3dc7f922c0b630c8230d3fd2
2021-06-30 17:23:56 +00:00
Samuel Fufa 7f3c8518f1 Polish changes for work tab
Bug: 191975224
Test: local
Change-Id: Iee1943c041ebb181d4323935ec80130fe15c62c0
2021-06-30 12:21:47 -05:00
Cyrus Boadway 1edaed8790 Merge "Defer onColorsChanged updates during widget-to-home animation" into sc-dev 2021-06-30 17:14:57 +00:00
vadimt a26516c575 Verifying success of setting default Launcher in tests
Test: local runs
Bug: 187080582
Change-Id: Iece234e58e2faa80996001f6de1943f065522400
2021-06-30 10:12:56 -07:00
Bill Yi 9b578cbd52 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-06-30 16:26:34 +00:00
Bill Yi 4e880e9e65 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-06-30 16:26:20 +00:00
TreeHugger Robot 318f78cb0c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours am: 7dd886f92c -s ours am: b26ed8d541 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iebb4beffd599390ce8088dfc84e1ecdac62d5955
2021-06-30 15:52:17 +00:00
TreeHugger Robot 8f8417c899 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours am: 41cee5d3b4 -s ours am: 345be67e3e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I10ecc1495f3afc997c7d1054cf8f207d125a0fa5
2021-06-30 15:52:05 +00:00
TreeHugger Robot 9a8592c4ea [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours am: 70b8341b6d -s ours am: ec4cdcaf33 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I79aa019a7d7679eef7042382343c814ca3a2c91e
2021-06-30 15:51:52 +00:00
TreeHugger Robot ab31aa2f00 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours am: 8607e2171a -s ours am: 000453d420 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia84da826b3e4e36ef9137dd72c16238dde445fa9
2021-06-30 15:51:38 +00:00
TreeHugger Robot b26ed8d541 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours am: 7dd886f92c -s ours
am skip reason: subject contains skip directive

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

Change-Id: If74d28b132ed04f1c246148378bfa2ef1797632f
2021-06-30 15:37:37 +00:00
TreeHugger Robot 345be67e3e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours am: 41cee5d3b4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I440dcd2945eb91a29158361684247a6dbcaf7a3d
2021-06-30 15:37:26 +00:00
TreeHugger Robot ec4cdcaf33 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours am: 70b8341b6d -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic188120b670a1be03af04799da0293e71d23654a
2021-06-30 15:37:22 +00:00
TreeHugger Robot 000453d420 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours am: 8607e2171a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3761e652abb3286cedeea0e8c9a48d3b7c64d5b0
2021-06-30 15:37:09 +00:00
TreeHugger Robot 7587b671fb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours am: 8db87a7349 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I521b2c9ec46cdab8e913463a81ac00dcf7e4d502
2021-06-30 15:36:41 +00:00
TreeHugger Robot 6837da50ac [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours am: f34a5a8810 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7d31e71e8603b2919423bf1868612e3f8a7ba97e
2021-06-30 15:36:35 +00:00
TreeHugger Robot 70b8341b6d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8177bb7bf0b4d33f82ef4e027f47eb5068bd4d9e
2021-06-30 15:26:14 +00:00
TreeHugger Robot 8607e2171a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7d30b067a474f02f4fbdc207d01242c1b19934d2
2021-06-30 15:26:03 +00:00
TreeHugger Robot 7dd886f92c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8533b9699a54b4fa59545af4ce5ead1641417bff
2021-06-30 15:25:13 +00:00
TreeHugger Robot 8db87a7349 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b31d55d960 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8e22d6f53f9c334f84964a20ff921600124c76a1
2021-06-30 15:25:03 +00:00
TreeHugger Robot 41cee5d3b4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibacfafb4584aacdcd61ea91a6b9fac4922b4d324
2021-06-30 15:25:00 +00:00
TreeHugger Robot f34a5a8810 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 814d644d81 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia7508bf6c6dd10551929ad391a9eefe2f3f280cf
2021-06-30 15:24:59 +00:00
Tony Wickham b8bfa1641f Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570 am: 2067c978a2 am: 7182dc0fbc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: I3b662281d367879684ba860c1ba4f800d85ec83f
2021-06-30 15:15:18 +00:00
Tony Wickham 7182dc0fbc Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570 am: 2067c978a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: I5fcb8b8f7d33867c1f059a05a073aed55ca00c1a
2021-06-30 15:10:41 +00:00
Tony Wickham dadfbeb68a Merge "Fully null check mRecentsAnimationController" into sc-dev am: d61f224570 am: 597943985f am: c6192426a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15147296

Change-Id: I80d82c56e3158ec9a43f6ba11c4a8e206cba42c4
2021-06-30 15:09:54 +00:00
TreeHugger Robot b31d55d960 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-30 15:09:53 +00:00
TreeHugger Robot 50a891da7d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: f0b607b401 -s ours am: 594422517a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I33ef0f31c57732f99292ea9bf0ed0397c7a7231c
2021-06-30 15:09:40 +00:00