Commit Graph
49925 Commits
Author SHA1 Message Date
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
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
android-build-team Robot bda9d037e7 Snap for 6284977 from 265355515d to mainline-release
Change-Id: I8dc99c6584e10833917ade04c82c210a7c779873
2020-03-11 15:06:45 +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
android-build-team Robot 2e4777a522 Snap for 6282804 from 27e0c0dc8f to rvc-release
Change-Id: I3667e853bfa0d0d18417f86569289f8fa96c69f7
2020-03-11 02:07:46 +00:00
android-build-team Robot 9474a11556 Snap for 6282504 from 9fb97121e1 to sc-release
Change-Id: Id7a82f8919b36246df6e80b8663f8b6a91367d51
2020-03-11 02:06:44 +00:00
lumark 7d861dd15c Apply localBounds / screenSpaceBounds for RemoteAnimationTarget in Launcher
This is to fix in Hierarchical animation (i.e. the animation will
reparent to parent container's surface control rather then a fixed
fullscreen animation layer),

TaskView surface in overview screen the position will be shifted
when entering split-screen mode.

Test: manual as follow steps:
  - Launching app from launcher to split-screen secondary stack
  - Swipe up to overview screen and drag TaskView to see if the TaskView
    surface is shfted, expected is not.
Bug: 148780840
Change-Id: Ia7e9c2649ae3e35747859c211a4299198c16db00
2020-03-10 23:15:22 +00:00
Automerger Merge Worker 9fb97121e1 [automerger skipped] Dismisses system overlays for Home intent. am: d5cafac586 -s ours am: 27e0c0dc8f -s ours am: c175da8e61 -s ours am: 6b6638936c -s ours am: 265355515d -s ours am: e5d7aae6b0 -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 ecf9323831 is in history

Change-Id: Ifbd9f9351de21e02cdb75e950e4a97bd09d444a7
2020-03-10 22:23:57 +00:00
Automerger Merge Worker eb42a46962 [automerger skipped] Dismisses system overlays for Home intent. am: d5cafac586 -s ours am: 27e0c0dc8f -s ours am: 1fd05c8c40 -s ours am: a18736e96f -s ours am: 4f42c7d0de -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 ecf9323831 is in history

Change-Id: I4f28951bc642a53fc59b60e00b0553e31f574f8a
2020-03-10 22:22:02 +00:00
Automerger Merge Worker 4c5d492de4 [automerger skipped] Dismisses system overlays for Home intent. am: d5cafac586 -s ours am: 27e0c0dc8f -s ours am: c175da8e61 -s ours am: 2f24ba0728 -s ours am: 72c6ab9d69 -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 ecf9323831 is in history

Change-Id: Ib7b0f51a25316fe8a00641f9f8e53ec0d9b2a039
2020-03-10 22:18:14 +00:00
Automerger Merge Worker e5d7aae6b0 [automerger skipped] Dismisses system overlays for Home intent. am: d5cafac586 -s ours am: 27e0c0dc8f -s ours am: c175da8e61 -s ours am: 6b6638936c -s ours am: 265355515d -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 ecf9323831 is in history

Change-Id: Iab53f4aa32bf361a355c2f70fb4b2346071d9963
2020-03-10 22:09:22 +00:00
Automerger Merge Worker 4f42c7d0de [automerger skipped] Dismisses system overlays for Home intent. am: d5cafac586 -s ours am: 27e0c0dc8f -s ours am: 1fd05c8c40 -s ours am: a18736e96f -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 ecf9323831 is in history

Change-Id: I3435054a9b89cec31f308d88d4c525ab6d804cb4
2020-03-10 21:57:04 +00:00