Automerger Merge Worker
aefcb47fa9
[automerger skipped] Import translations. DO NOT MERGE am: 1b758f2050 -s ours
...
am skip reason: subject contains skip directive
Change-Id: Ic4b28459bd4f3a4b6db95bb37849b56718066822
2020-03-15 02:48:55 +00:00
Bill Yi
1b758f2050
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I895ece9354f1c6f7ff5d5dc732380260a2e2142f
2020-03-14 18:50:49 -07:00
android-build-team Robot
54c9466d32
Snap for 6294963 from f3779f129f to rvc-release
...
Change-Id: If73eda149b77f737624e06811a83d3db30d574e4
2020-03-14 02:13:50 +00:00
vadimt
76205b06ed
Fixing LauncherAnimationRunning referring a destroyed activity
...
Bug: 139137636
Change-Id: Id070a98103a7116179e7ee66fabeeb33fb19b1ff
2020-03-13 18:32:46 -07:00
Tracy Zhou
f601872a0a
The new grid migration algorithm
...
go/grid-migration-v2
When changing grid from option 1 to option 2, we calculate the diff and add the icons that are in option 1 but not option 2, to option 2's workspace, according to the reading order.
Test: manual and unit tests
Fixes: 144052802
Change-Id: Id01f69e90ce656a9b7c9051fed499807ee9ac0f7
2020-03-13 14:56:38 -07:00
Vinit Nayak
3aaf396734
Remove sensor manager from RecentsView
...
This disables the rotation animation in
overview, but should hopefully fix tests.
fixes: 150260456
Change-Id: I121cad155672c2e325cc0f83ce209be0d3806b1c
2020-03-13 13:57:09 -07:00
Hyunyoung Song
9caed38e34
Merge "Null check every ComponentName call inside FolderNameProvider" into ub-launcher3-master
2020-03-13 16:41:17 +00:00
Govinda Wasserman
7ecf252ef9
Adds fling gesture suppression to Launcher
...
Test: Tested locally
BUG: 150688842
Change-Id: Ifa96bd01363de47cf1d8cdce34d81d525c8c2c04
2020-03-13 08:46:10 -04:00
Tracy Zhou
85f0c3b841
Use SurfaceView to render grid preview
...
Demo: https://drive.google.com/open?id=1wQ8dT5bfTxSh-NRQpNBwTCkKOtOOUMPj
Bug: 150224413
Test: Manual
Change-Id: I44e7baed1bcd15351e03dcbeb2b525bc1b325478
2020-03-12 23:06:36 -07:00
Hyunyoung Song
f546e0599e
Null check every ComponentName call inside FolderNameProvider
...
Bug: 150522230
Change-Id: I50007a3a781234797e16d830935a8b8585ac242b
2020-03-12 22:33:19 -07:00
Automerger Merge Worker
eb9c7c955e
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: 4e5f63097a am: 66517def82 am: b522dfeea4 am: 890e5fcf96 -s ours
...
am skip reason: subject contains skip directive
Change-Id: I627a9935ff438e3a0ead0eeb8f217f6cd7051d05
2020-03-13 04:02:22 +00:00
Automerger Merge Worker
5f34c2de81
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: aa491aba1a am: 2dc9b6b57a am: cf0230577e -s ours
...
am skip reason: subject contains skip directive
Change-Id: I9ce2569225ab21c9e7fa9c77d65ec38c6db35444
2020-03-13 04:01:55 +00:00
Automerger Merge Worker
890e5fcf96
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: 4e5f63097a am: 66517def82 am: b522dfeea4
...
Change-Id: I9d229f1543d25b9675a99dfba9a4b55b1f116801
2020-03-13 04:00:49 +00:00
Automerger Merge Worker
cb55b90e64
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: 4e5f63097a am: e1091bb71a am: 9c37057a6c -s ours
...
am skip reason: subject contains skip directive
Change-Id: Icfa4e7f72526310aa73bd72078690ac442965eb8
2020-03-13 04:00:18 +00:00
Automerger Merge Worker
cf0230577e
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: aa491aba1a am: 2dc9b6b57a
...
Change-Id: Idfe9448083ec7c54dc3f3a7dcae9c23916b454d8
2020-03-13 03:40:14 +00:00
Automerger Merge Worker
9c37057a6c
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: 4e5f63097a am: e1091bb71a
...
Change-Id: Ia7cb0098cfa7c265b056bdf31eb0a041c1541c2c
2020-03-13 03:40:01 +00:00
Automerger Merge Worker
b522dfeea4
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: 4e5f63097a am: 66517def82
...
Change-Id: Ia3497cd1442ce46855b0daf3ca03c23938fef566
2020-03-13 03:39:41 +00:00
Automerger Merge Worker
2dc9b6b57a
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: aa491aba1a
...
Change-Id: Ie5e4262bc105aac7488d9c1e8775f733ccd2425a
2020-03-13 03:27:36 +00:00
Automerger Merge Worker
66517def82
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: 4e5f63097a
...
Change-Id: I22bbc8521e0eb6e64b6b4b63d54cae2421c8827a
2020-03-13 03:27:11 +00:00
Automerger Merge Worker
e1091bb71a
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f am: 4e5f63097a
...
Change-Id: I9c53c3b560d996b9df354751eb4362823a55f15c
2020-03-13 03:26:47 +00:00
Automerger Merge Worker
aa491aba1a
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f
...
Change-Id: I559a56ec98df4b044aa34c2616a136b2080d16eb
2020-03-13 03:09:31 +00:00
Automerger Merge Worker
4e5f63097a
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours am: f3779f129f
...
Change-Id: Ifb6bf373483e5c95861cebbef609976cbc1d2193
2020-03-13 03:09:27 +00:00
TreeHugger Robot
6d8203ef44
Merge "Disable OrientationListener if vertical landscape not supported" into ub-launcher3-master
2020-03-13 03:00:46 +00:00
Automerger Merge Worker
2f8c32a1ca
[DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f
...
Change-Id: I7f606e78345126ea4f231fb06dcca5f528d5ebe9
2020-03-13 02:50:24 +00:00
Automerger Merge Worker
f3779f129f
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: 97ce9ee93f -s ours
...
am skip reason: subject contains skip directive
Change-Id: Iff46bd49efa09e71e3d22b9af3e8ca0b9a9f3080
2020-03-13 02:50:07 +00:00
Vinit Nayak
3388323bc1
Disable OrientationListener if vertical landscape not supported
...
Even if multiple orientations are disabled but the flag
is on, we'll be listneing and setting different layouts.
Seeing in some tests that that callback was getting fired
for some reason.
Fixes: 150260456
Change-Id: I0a1c9f06cc4830d3dc8410a777d595851f1c35eb
2020-03-12 17:18:51 -07:00
thiruram
3af7178356
Fixes missing smart folder logging bug. Uses ProtoLite.toString method to log LauncherEvents.
...
Change-Id: I45dbf189e7bd47f8d4d7ba55180e59686bd6ecae
2020-03-12 16:26:02 -07:00
Govinda Wasserman
97ce9ee93f
[DO NOT MERGE] Adds fling gesture suppression to Launcher
...
Test: Tested locally
BUG: 150688842
Change-Id: Ifa96bd01363de47cf1d8cdce34d81d525c8c2c04
2020-03-12 19:04:41 -04:00
Tony Wickham
b6bc08ad57
Merge "Invert playNonAtomicComponent() as onlyPlayAtomicComponent()" into ub-launcher3-master
2020-03-12 21:48:42 +00:00
Vadim Tryshev
6aa63d9f8e
Merge "Fixing activity leak via accumulation of draw listeners" into ub-launcher3-master
2020-03-12 21:01:30 +00:00
Govinda Wasserman
fb4fe0e972
Adds fling gesture suppression to Launcher
...
Test: Tested locally
BUG: 150688842
Change-Id: Ifa96bd01363de47cf1d8cdce34d81d525c8c2c04
2020-03-12 16:46:12 -04:00
vadimt
f0d96f83f7
Fixing activity leak via accumulation of draw listeners
...
Bug: 139137636
Change-Id: I0a2f0849f886acaac31746ac7c9724c765692e88
2020-03-12 20:06:01 +00:00
Sunny Goyal
4e82f5bc36
Fixing crash when swiping up using 3P Launcher
...
Change-Id: Ia181edc1a00136374b3f0d848beccf0c9acd7b5c
2020-03-12 12:32:40 -07:00
TreeHugger Robot
f85fcc792f
Merge "Hide work apps when work profile is paused" into ub-launcher3-master
2020-03-12 18:12:59 +00:00
Samuel Fufa
f5a4deb120
Hide work apps when work profile is paused
...
- hide overlay icon in landscape mode
- don't show edu if user has already seen legacy work profile edu
- make sure personal tab is highlighted when work profile is reinstalled
- always go home after a work profile is added or removed
- add tests for work edu flow
Bug: 150122946
Test: Manual
Change-Id: I8f80ac763acf03ca31a534464f4ddfd84528d329
2020-03-12 10:25:50 -07:00
Vinit Nayak
b9ec9319c5
Add fixed_rotation_transform to home settings
...
This sets the feature flag on launcher side
and also updates the setting in Settings.Global
Launcher DOES NOT listen to the Settings.Global
change from adb anymore. This should take
preference over setting it from command line.
Also fix a related swipe to home animation bug
that happened w/ merge conflict.
Fixes: 150260456
Test: Set and unset, visually verified behavior.
Tested w/ autorotate on and off.
Checked Settings.Global value correctly updated
via "adb shell settings get global
fixed_rotation_transform"
TODO: Update tests to reflect this new
default-on fixed rotation behavior.
Change-Id: Id95f006eb1e92a59e24b05567298fd21b1409b13
2020-03-11 19:38:33 -07:00
Tony Wickham
984c01cbcd
Invert playNonAtomicComponent() as onlyPlayAtomicComponent()
...
This avoids the double negative we use in a few places, so should be clearer.
Also added some comments to explain what the animComponents are used for.
Change-Id: Ibd25bd12efce6553b377bbd9c0651e4f4ac3e498
2020-03-11 18:21:53 -07:00
TreeHugger Robot
31ff98e144
Merge "Only allow horizontal spring if page will change." into ub-launcher3-master
2020-03-12 00:26:57 +00:00
Sunny Goyal
4acdb3bcd7
Merge "Removing some properties out of AnimationBuilder" into ub-launcher3-master
2020-03-12 00:20:15 +00:00
TreeHugger Robot
6a550f26a7
Merge "Using FallbackSwipeHandler in 2-button mode" into ub-launcher3-master
2020-03-12 00:15:44 +00:00
Sunny Goyal
003782f93c
Removing some properties out of AnimationBuilder
...
AnimationBuilder and PendingAnimation have similar logic. This will
allow to unify the two classes
Change-Id: Id8c1d8a7020d132adbccdc6c80538ed6556cb75e
2020-03-11 16:35:36 -07:00
TreeHugger Robot
0abe819913
Merge "[Overview Actions] Hide other tasks for select mode UI." into ub-launcher3-master
2020-03-11 23:27:05 +00:00
Sunny Goyal
fa617d89ce
Using FallbackSwipeHandler in 2-button mode
...
Bug: 151166786
Change-Id: Ia86af76c1779bafa4690e733a7e6764973c8ae0d
2020-03-11 16:24:39 -07:00
Becky Qiu
21167f01d4
[Overview Actions] Hide other tasks for select mode UI.
...
Test:local
Bug:139828243
Change-Id: Idc9c6a0e354b9df7f48f3ce93b560fdc4999fc3a
2020-03-11 15:45:44 -07:00
Jon Miranda
9e19866ed8
Only allow horizontal spring if page will change.
...
Bug: 150876921
Change-Id: I88db4c28ec3f8213c583e8a0dcd1cce2b1fee322
2020-03-11 14:53:42 -07:00
Tony Wickham
9c47ddd2a6
Merge "Try orienting popup the other way if offset pushes it out of bounds" into ub-launcher3-master
2020-03-11 21:10:04 +00:00
Automerger Merge Worker
8780065fdb
[automerger skipped] Merge "[DO NOT MERGE] Adds fling gesture suppression to Launcher" into ub-launcher3-qt-qpr1-dev am: 631ed598ee -s ours am: 2768a24688 -s ours
...
am skip reason: subject contains skip directive
Change-Id: I36a95c05e2cef2bb615c67c30697c8a1b07b4c6f
2020-03-11 20:17:17 +00:00
Automerger Merge Worker
25960bcd88
[automerger skipped] [DO NOT MERGE] Adds fling gesture suppression to Launcher am: f3b22ffee6 -s ours
...
am skip reason: subject contains skip directive
Change-Id: I38695bd05d74b8a526e61c2b55b2d2669e4e31a7
2020-03-11 20:17:10 +00:00
Automerger Merge Worker
2768a24688
[automerger skipped] Merge "[DO NOT MERGE] Adds fling gesture suppression to Launcher" into ub-launcher3-qt-qpr1-dev am: 631ed598ee -s ours
...
am skip reason: subject contains skip directive
Change-Id: I6a1906e1e7e302ca6886f3ecdeac5d374476020e
2020-03-11 20:05:05 +00:00
Tony Wickham
ddb08885f9
Try orienting popup the other way if offset pushes it out of bounds
...
orientAboutObject() currently determines whether the popup should align
its left side with the icon or the right side. However, after
determining this, there is an offset to ensure the popup lines up with
the icon as expected, which might push it out of bounds. In that case,
we fallback to centering the popup. However, there might be plenty of
room on the other side, so we should just align the other direction
instead. Updated the logic to do that by first trying to align left
(in LTR) or right (in RTL), then trying again with the other alignment
if it doesn't fit after all x calculations are made.
Bug: 150644839
Change-Id: I219dae331bf790e461d91394ffe025d40ec54c9b
2020-03-11 12:27:44 -07:00