Commit Graph
21975 Commits
Author SHA1 Message Date
Zak Cohen 56280a314e Overview actions-adds feature flag for select mode
Adds a feature flag for whether select mode is available or not.

Test: local
Change-Id: Ia3bc920b47083b238dd7be3dae6c1f0216bc61e5
2020-03-16 16:38:22 -07:00
Govinda Wasserman 5c042b3539 Merge "Adds fling gesture suppression to Launcher" into ub-launcher3-master 2020-03-16 12:12:56 +00:00
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
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
Hyunyoung Song f546e0599e Null check every ComponentName call inside FolderNameProvider
Bug: 150522230
Change-Id: I50007a3a781234797e16d830935a8b8585ac242b
2020-03-12 22:33:19 -07:00
TreeHugger Robot 6d8203ef44 Merge "Disable OrientationListener if vertical landscape not supported" into ub-launcher3-master 2020-03-13 03:00:46 +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
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
Govinda Wasserman f3b22ffee6 [DO NOT MERGE] Adds fling gesture suppression to Launcher
Test: Tested locally
BUG: 150688842
Change-Id: Ifa96bd01363de47cf1d8cdce34d81d525c8c2c04
(cherry picked from commit 9b90b1b034)
2020-03-11 18:23:34 +00:00
Govinda Wasserman 631ed598ee Merge "[DO NOT MERGE] Adds fling gesture suppression to Launcher" into ub-launcher3-qt-qpr1-dev 2020-03-11 18:19:26 +00:00
Govinda Wasserman 9b90b1b034 [DO NOT MERGE] Adds fling gesture suppression to Launcher
Test: Tested locally
BUG: 150688842
Change-Id: Ifa96bd01363de47cf1d8cdce34d81d525c8c2c04
2020-03-11 10:30:53 -04:00
Automerger Merge Worker 9c40c83d70 [automerger skipped] Merge "Dismisses system overlays for Home intent." into ub-launcher3-qt-future-dev am: 86ace54523 -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 65ced1b1d0 is in history

Change-Id: I70904c253ac6ad36820069f64d9338ee067d159b
2020-03-10 20:55:30 +00:00
Automerger Merge Worker b41aa64b8d [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: 5e72945a85 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib8b27aa6ad4e4f0ed4bdebf3bb7b7cac654fad25
2020-03-10 20:55:18 +00:00
Hyunyoung Song d7c8441676 Merge "DeviceFlag change is not detected when phenotype updates." into ub-launcher3-master 2020-03-10 19:15:37 +00:00
TreeHugger Robot 5e72945a85 Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-03-10 17:45:51 +00:00
TreeHugger Robot 86ace54523 Merge "Dismisses system overlays for Home intent." into ub-launcher3-qt-future-dev 2020-03-10 17:42:54 +00:00
Bill Yi a159b77ef1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4d6b82f9e793cf2649102e913c81c27f6ccc004a
2020-03-10 09:56:26 -07:00
Automerger Merge Worker 0a94715469 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev am: 44e7298953 -s ours
am skip reason: subject contains skip directive

Change-Id: I1b060550e9d0f839c96b1582712321ef530e353f
2020-03-10 16:21:57 +00:00
TreeHugger Robot 44e7298953 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev 2020-03-10 16:18:29 +00:00
Automerger Merge Worker f2508e783f [automerger skipped] Import translations. DO NOT MERGE am: 9a32222ce7 -s ours am: defd3c0e6f -s ours
am skip reason: subject contains skip directive

Change-Id: I5eb69f5179f420f1ab678a025ab7bf28f93f595a
2020-03-10 16:16:51 +00:00
Automerger Merge Worker defd3c0e6f [automerger skipped] Import translations. DO NOT MERGE am: 9a32222ce7 -s ours
am skip reason: subject contains skip directive

Change-Id: I4fe5c187cc89f91199f3265f43d323556a992841
2020-03-10 16:04:16 +00:00
Automerger Merge Worker e635a2689d [automerger skipped] Import translations. DO NOT MERGE am: a066cb4430 -s ours
am skip reason: subject contains skip directive

Change-Id: I2cd255fd2f265718df096d05f3c8a67c78662c58
2020-03-10 16:04:12 +00:00
Sunny Goyal dbcc63edeb Removing some autoboxing during property animation
Change-Id: Ibd6f20c565a4d66dc6d606b3f0bbc96fec66fe56
2020-03-10 08:43:55 +00:00
Sunny Goyal add170098c Merge "Converting some anonymous classes to lambda calls" into ub-launcher3-master 2020-03-10 08:43:41 +00:00
Andy Wickham b3b8aefe57 Dismisses system overlays for Home intent.
Test: Used Facebook chatheads (not system bubble).
Before the change, Home gesture didn't work. After
the change, it does work :)
Bug: 146593239

Merged-In: Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a
Change-Id: I19d91aaed19ccaec68478e364ce6b80049d49a98
2020-03-10 04:29:58 +00:00
Bill Yi a066cb4430 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I91780ce30d4eb9825d415e2825b9a94e2a4fade8
2020-03-09 19:41:30 -07:00