Commit Graph

33301 Commits

Author SHA1 Message Date
Zak Cohen 02a25be89d Merge "Overview Actions - shows a message if action is blocked by policy." into ub-launcher3-rvc-dev 2020-05-11 18:43:55 +00:00
Adam Cohen 400dfe0d93 Merge "Fix animation for non-default grids when dragging icon from All Apps into a Folder" into ub-launcher3-rvc-dev 2020-05-11 18:38:28 +00:00
Adam Cohen 2438d40607 Merge "Fix issues with drag and drop from All Apps in non-default grids" into ub-launcher3-rvc-dev 2020-05-11 18:38:15 +00:00
Vinit Nayak b9522d334a Infer launcher rotation when initializing RecentsOrientedState
fixes: 154776599
Change-Id: I9b95f7f96836a974be0fd1236547efb4b405fda5
2020-05-11 11:23:49 -07:00
Hyunyoung Song e745f50128 Merge "Hookup statsd for workspace layout logging" into ub-launcher3-rvc-dev 2020-05-11 18:18:57 +00:00
Becky Qiu 7d12134240 [Overview Actions] Change actions view UI based on different nav modes.
1. Change the overview actions container to 66dp height.
2. For 3 button mode, container will have 8dp bottom margin.
3. For gesture mode, container will have 16dp bottom margin.
4. Action buttons and close button will always be in the center vertically.

Spec: https://docs.google.com/presentation/d/1gXWNdCRXvXuEhgDmE0TX2KYqCxIQBXVtWKdl4pKrno8/edit#slide=id.g840c32b190_3_6

Demo:
- 3 button: https://screenshot.googleplex.com/2Y3uMaJMi9E
- gesture: https://screenshot.googleplex.com/XzaKHpp5ke9
Test: tested for both modes and when switch between.
Bug: 155444592

Change-Id: If66d369df0218b7ee2abab8a3f345488bf223b16
2020-05-11 10:46:21 -07:00
vadimt 7b7e62e5eb Additional logging for pause non-detection
Bug: 156044202
Change-Id: I6d7dcdcf73722e66fcbd180c9e309c518766b9b8
2020-05-11 10:10:53 -07:00
TreeHugger Robot 6835c0da1d [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: 3141c99e92 -s ours
am skip reason: subject contains skip directive

Change-Id: I55fe1a517bbe13cf610de84dba4248d7cef03cd5
2020-05-10 23:04:44 +00:00
Bill Yi 31c8e62c53 [automerger skipped] Import translations. DO NOT MERGE am: 561e1c3777 -s ours
am skip reason: subject contains skip directive

Change-Id: I649a41965c11fb91428d6742dc49a259f7c12774
2020-05-10 23:04:38 +00:00
TreeHugger Robot 3141c99e92 Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-05-10 22:56:59 +00:00
Samuel Fufa 0826bc1b0b Remove bold from work paused overlay text
Bug: 151405736
Change-Id: I35a26bfd6196ef5d3a82efa7b89c2fa80debf93d
2020-05-10 14:40:20 -07:00
Samuel Fufa eb1d77aa08 Make darkmode allapps backgrounds solid black
Bug: 154930029
Test: Manual
Change-Id: I7906bfa8460afb409b205afbf86648dd154d7da5
2020-05-10 14:02:10 -07:00
Samuel Fufa 6610fd0950 String translation updates
-> make dismiss_prediction_label and pin_prediction translatable
issue 155846260

-> use ' instead of ’ for work_apps_paused_body
issue 155639533

Test: Manual
Change-Id: Ibb291bb803f8fa8a39c7ddf81db5d8a253a26766
2020-05-10 13:56:37 -07:00
Bill Yi 561e1c3777 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I48b5667682d4f964d8471237bf3629e0b26fd20f
2020-05-10 20:53:25 +00:00
Bill Yi 91e0db3905 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I2f2cda2793113a012d86b0d18cccf3e6fabb7e69
2020-05-10 20:53:08 +00:00
Samuel Fufa b549819676 Resolve Test flakes
-> Synchronize calls in LoaderTask.java
issue 156041043

-> Remove non system users on setup
If a work test crashes before getting to run its teardown - we might end up with a user profile that could throw off subsequent tests.
issue 156022161

Test: Manual
Change-Id: Ife708a3de01572f7cb2187078d592d8d570dd951
2020-05-10 13:51:41 -07:00
Hyunyoung Song 7f7894e3b7 Hookup statsd for workspace layout logging
Bug: 144953948

Change-Id: I81bd42929b2d65a63c610e95e5e01179a3971493
2020-05-10 01:37:42 -07:00
android-build-team Robot fb745ff3e2 Snap for 6479434 from 4be2313c5c to mainline-release
Change-Id: Ife6f35eb41e0bc2002367e44cf3b2e0557232fc1
2020-05-10 07:19:24 +00:00
android-build-team Robot 683d02e501 Snap for 6477313 from 77762fdf4f to rvc-release
Change-Id: I78b86895a078119d0b70b64d040f5e680bfb0c0d
2020-05-09 01:03:32 +00:00
Adam Cohen b70e7d1c1c Fix animation for non-default grids when dragging icon from All Apps into a Folder
Test: manual

Change-Id: I72b84ead68c6e415c91dd2b801fc05654a97cd96
2020-05-09 00:54:04 +00:00
Zak Cohen 4ebd859bc4 Overview Actions - shows a message if action is blocked by policy.
Device policy or app secure surface policy mean that snapshot based
actions shouldn't work.
This is encoded in whether the snapshot is "real", the fake snapshot is
generated when policy doesn't allow captures.

Test: tested with Test DPC fake device policy app
Change-Id: Ib34e5a90ab58fb401d4516c531866d1c13569256
2020-05-08 17:16:15 -07:00
TreeHugger Robot 04aab3a628 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev am: 9506316e21
Change-Id: I89160ed4e0a5530e9d5db1c3edd99d09f01fe67c
2020-05-08 23:24:26 +00:00
TreeHugger Robot 9506316e21 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev 2020-05-08 23:12:40 +00:00
Adam Cohen c77bc45fa5 Fix issues with drag and drop from All Apps in non-default grids
=> Also fix the widget tray in these non-default grids, and the external shortcut addition flow. The layout was broken as it was scaling with the icon size. Instead keep it fixed which looks much better, similar to how we maintain all apps.
=> This also fixes a small jump when dragging shortcuts external to Launcher.

issue 154169001

Change-Id: Iad1e3859dd6fedccce9b5c6633e64426a4630c31
2020-05-08 16:00:08 -07:00
vadimt ad87034d1f More logging for pause non-detection
Bug: 156044202
Change-Id: I1c995b6c28f7108b96ff74aa8c3c71f70f8b3fb6
2020-05-08 15:09:37 -07:00
Sunny Goyal 86a2f91101 Using TaskViewSimulator for both Launcher and fallback recents
Fixing fling to home animation in landscape and multi-window orientation

Bug: 155896573
Bug: 155816922
Change-Id: I5fdff8694eced415978345b026858f5167c2a198
2020-05-08 14:48:42 -07:00
Automerger Merge Worker a0ec27ff73 Merge "Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 06aae1303c" into rvc-d1-dev-plus-aosp am: 6d699286d9 am: dd19d13701
Change-Id: Ic1600686ac86b6152f104e151bb041e5c02fac55
2020-05-08 21:44:05 +00:00
Automerger Merge Worker 47c9f09fe2 Merge "Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 9ee749bf90 am: 3bf1b370d8" into rvc-qpr-dev-plus-aosp am: 13689d29ff
Change-Id: I104b8656d5371f73d891745cf077c03135b60058
2020-05-08 21:43:44 +00:00
TreeHugger Robot d158a194d6 Merge "Adding waiting for Launcher initialization" into ub-launcher3-rvc-dev am: 4f51725717
Change-Id: I8a419e356cfb06d8f58ec8f2f28841f0d6f1b4ff
2020-05-08 21:43:00 +00:00
Vinit Nayak abca7f6838 Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 9ee749bf90 am: 803f98b8d7 am: 85b29deca6
Change-Id: Ie68f563d8978947da001da93bea96cd7b8051012
2020-05-08 21:43:00 +00:00
Automerger Merge Worker dd19d13701 Merge "Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 06aae1303c" into rvc-d1-dev-plus-aosp am: 6d699286d9
Change-Id: Idc7f10dc92d44db89a0959d1d68cde2b0a3386d0
2020-05-08 21:26:37 +00:00
TreeHugger Robot 4f51725717 Merge "Adding waiting for Launcher initialization" into ub-launcher3-rvc-dev 2020-05-08 21:26:30 +00:00
Automerger Merge Worker 13689d29ff Merge "Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 9ee749bf90 am: 3bf1b370d8" into rvc-qpr-dev-plus-aosp 2020-05-08 21:26:26 +00:00
Vinit Nayak b48aa14bbf Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 9ee749bf90 am: 3bf1b370d8
Change-Id: Ifb83f6048db359205796e4f767015f970b32ce27
2020-05-08 21:26:20 +00:00
Vinit Nayak 85b29deca6 Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 9ee749bf90 am: 803f98b8d7
Change-Id: Ic677e52d4f90e904ca54e22adb53ab0ba2c5d20a
2020-05-08 21:26:18 +00:00
TreeHugger Robot 5f4d22eaba Merge "Mitigate 10 minutes delay in launcher restore for work apps." into ub-launcher3-rvc-dev am: 144f638fa3
Change-Id: Ifa3823efa131e6eba786a053e14a3e7a54182a90
2020-05-08 21:16:26 +00:00
Automerger Merge Worker 6d699286d9 Merge "Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 06aae1303c" into rvc-d1-dev-plus-aosp 2020-05-08 21:09:46 +00:00
Vinit Nayak f078646b70 Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 06aae1303c
Change-Id: I21768c8a770321dc562b6d9aeab77314ab322950
2020-05-08 21:09:41 +00:00
Vinit Nayak 803f98b8d7 Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 9ee749bf90
Change-Id: I96a840c55180d6b78a33860a909fff728591f0af
2020-05-08 21:09:40 +00:00
Vinit Nayak 3bf1b370d8 Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f am: 9ee749bf90
Change-Id: I4433346a8b7f9848dcf65f5e6b967faa12c0e375
2020-05-08 21:09:35 +00:00
TreeHugger Robot 144f638fa3 Merge "Mitigate 10 minutes delay in launcher restore for work apps." into ub-launcher3-rvc-dev 2020-05-08 21:02:02 +00:00
Vinit Nayak 4be2313c5c Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f
Change-Id: I20d01eabd613ead86f1ab98929507906f27cecc3
2020-05-08 20:57:49 +00:00
Vinit Nayak 06aae1303c Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f
Change-Id: I754bec03bf6ccaa127178de387cac45959ed9bf8
2020-05-08 20:57:18 +00:00
Vinit Nayak 9ee749bf90 Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev am: 77762fdf4f
Change-Id: I9dd0907bc207f79147227c2cb8f23dc0c84e1053
2020-05-08 20:56:53 +00:00
Vinit Nayak 77762fdf4f Merge "Revert "Disabling flaky test until fix is found"" into rvc-dev 2020-05-08 20:41:16 +00:00
Vinit Nayak 1be8a17986 Revert "Disabling flaky test until fix is found"
This reverts commit fdaa12d028.

Reason for revert: Should be fixed with ag/11252279

Bug: 150958400
Change-Id: Ia61462239ad5d8aba502bc8513d685046c1a1361
2020-05-08 20:41:01 +00:00
Jon Miranda 3c34e00acf Add logs to debug playtime crash and band aid fix for release builds. am: 7b02804d9f am: 3f8e61ca6b am: 66984d1319 am: 5283352cfa
Change-Id: Ib08c258a5e0c058b84081f9580eefa3b814f6c58
2020-05-08 20:23:03 +00:00
Jon Miranda f8f337411e Add logs to debug playtime crash and band aid fix for release builds. am: 7b02804d9f am: 62a4e45de1 am: a1a3075b3a am: 3cda66c956
Change-Id: Icd00b50b2a8135aa771fe5d010406d536f64f3e9
2020-05-08 20:22:57 +00:00
Jon Miranda b043edf94a Add logs to debug playtime crash and band aid fix for release builds. am: 7b02804d9f am: 3f8e61ca6b am: 1f7ddd9197 am: ab2d2d9747
Change-Id: I3100a2dbca27470653e4caa3d8ccb347236fbaf4
2020-05-08 20:22:23 +00:00
Sunny Goyal cf1a61ad33 Merge "Fixing swipe-up form app in landspace, rotates the surface" into ub-launcher3-rvc-dev am: 9d85f52386
Change-Id: I63e94d441f14220104da3a97fcf6590f0fa4aecf
2020-05-08 20:21:54 +00:00