Commit Graph

22093 Commits

Author SHA1 Message Date
TreeHugger Robot 239e05eccb Merge "Highlight personal tab on work profile reinstallation" into ub-launcher3-master 2020-03-25 22:14:23 +00:00
Sunny Goyal 3e94faa5de Merge "Removing animation when stripping empty pages, as the animation is run by LayoutAnimation already" into ub-launcher3-master 2020-03-25 22:06:40 +00:00
Samuel Fufa e0914e21ea Merge "Resume UI update on user active" into ub-launcher3-master 2020-03-25 21:36:21 +00:00
Samuel Fufa 28f3136c6a Resume UI update on user active
resume UI update for hybrid hotseat if user returns to launcher while app launch transition is animating.

Bug: 142753423
Test: Manual
Change-Id: I11ffa080bb78e7b4269747b1602b32d706f2405d
2020-03-25 13:15:54 -07:00
Samuel Fufa dc3eb8642b Merge "Personalize hotseat education" into ub-launcher3-master 2020-03-25 19:43:57 +00:00
TreeHugger Robot 7f571f6214 Merge "Go home when new tab is installed" into ub-launcher3-master 2020-03-25 19:15:38 +00:00
Samuel Fufa 41d909ff67 Go home when new tab is installed
Bug: 150943778
Test: Manual
Change-Id: Iccd7f62c4cad856849fc1afb2faac9b9fa2f9f97
2020-03-25 11:29:56 -07:00
Samuel Fufa 6fb959d8cc Highlight personal tab on work profile reinstallation
Bug: 145595763
Test: Manual
Change-Id: I4da5e03c3aa66b324bc375d328e7b81278d58aca
2020-03-25 11:26:25 -07:00
Josh Tsuji 1e080b8c2b Merge "Ignore system gestures while bubbles are expanded." into ub-launcher3-master 2020-03-25 14:16:48 +00:00
Sunny Goyal 6ad8a7e6f7 Merge "Fixing drag getting stuck due to mismatch touch events" into ub-launcher3-master 2020-03-25 04:33:59 +00:00
TreeHugger Robot bc89d17690 Merge "Debug tracing to repro a flake" into ub-launcher3-master 2020-03-25 01:49:04 +00:00
Samuel Fufa aa2aff5a8f Personalize hotseat education
If a user has has 0 apps in the hotseat, jump directly to showing predications.
Otherwise show migration dialog as usual and if user rejects it, show different tips based on the number of available spots.

Bug: 142753423
Test: Manual
Change-Id: Ic5202caf074db2409f6468dd9373875571f3f3c1
2020-03-24 18:37:30 -07:00
TreeHugger Robot ee24e84a3d Merge "Decoupling some dragController methods" into ub-launcher3-master 2020-03-25 01:07:25 +00:00
Sunny Goyal a306e59c69 Fixing drag getting stuck due to mismatch touch events
Bug: 150825081
Change-Id: Ib0613ff145fe308800eae85f2148b22ee01db91d
2020-03-24 18:05:45 -07:00
vadimt ac752e39f5 Debug tracing to repro a flake
Bug: 152354290
Change-Id: I06c9ad131ab125226dfdd548121d0aa3f26c7bc7
2020-03-24 17:58:03 -07:00
Sunny Goyal deb91c46eb Decoupling some dragController methods
Change-Id: I7c4ab5f1504c49eaa0566afe643d7672faa80205
2020-03-24 17:27:58 -07:00
Sunny Goyal 8b4c975546 Merge "Adding some wallpaper depth to drag and drop" into ub-launcher3-master 2020-03-25 00:13:09 +00:00
TreeHugger Robot b2f76460b6 Merge "Removing base no-op implementation of depth controller" into ub-launcher3-master 2020-03-24 23:43:49 +00:00
Sunny Goyal 284a6cfdd7 Removing base no-op implementation of depth controller
Change-Id: Ibf46c0a147d2772033ad469b803e606376978cd7
2020-03-24 16:11:06 -07:00
TreeHugger Robot ae581cdfdd Merge "Remove extra binder calls when not detecting gestures" into ub-launcher3-master 2020-03-24 22:42:37 +00:00
Winson Chung 005fa3f5a7 Remove extra binder calls when not detecting gestures
- Previous refactoring meant that we were always fetching the running
  task to update the gesture state, even when you touch down in an
  area that is not in the gesture region (which is unnecessary).
  Also only transforming touch events (currently causes allocations)
  when we are actually handling a gesture.

Change-Id: I32e21c3e4d7113a782afce593711d9df62551bc8
2020-03-24 15:11:58 -07:00
TreeHugger Robot 254862120a Merge "Change work paused label font" into ub-launcher3-master 2020-03-24 20:29:50 +00:00
Sunny Goyal 95613d93a2 Adding some wallpaper depth to drag and drop
Change-Id: Ib9acee6dcf8b2883cb66b65159d049bd8cbc2e8b
2020-03-24 12:13:17 -07:00
TreeHugger Robot 8ca3d852e5 Merge "Default fixed_rotation to off" into ub-launcher3-master 2020-03-24 18:39:29 +00:00
TreeHugger Robot 2d94464449 Merge "enable prediction logging" into ub-launcher3-master 2020-03-24 18:03:26 +00:00
Sunny Goyal 3abaae6c3c Fixing userControlled flag not properly set when building state animation
Bug: 152278197
Change-Id: Icc7d7444f7744c0614b03241d65156d6d493df84
2020-03-24 01:27:53 -07:00
Andy Wickham ba1a2b9b62 [automerger skipped] Fixes ag/10573640 on qt-future-dev branch. am: 12ca8b940d -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 65ced1b1d0 is in history

Change-Id: Iab3d186b124796b3f6d2758654dad9c996180a09
2020-03-24 05:37:54 +00:00
Andy Wickham 12ca8b940d Fixes ag/10573640 on qt-future-dev branch.
Original qt-future-dev change was ag/10601877.

The change needed to be in UiFactory, not RecentsUiFactory.

Fixes: 146593239
Test: Installed NexusLauncherDebug on a QD4A build and
tried the repo steps. Also built other launcher variants.

Merged-In: Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a
Change-Id: I802e2b0069a19ca62a08325bb6d0de5275c43c9b
2020-03-24 04:44:02 +00:00
Jonathan Miranda 5d87e9a1ae Merge "Polish badge animation on app open/close." into ub-launcher3-master 2020-03-24 04:11:38 +00:00
Samuel Fufa 0570a795f9 enable prediction logging
reverting accidental commit on ag/10673926

Bug: 142753423
Change-Id: I8d2f5f591b200484282f0b170fccab4f99b93fae
2020-03-23 20:22:41 -07:00
TreeHugger Robot 839a0f32e5 Merge "Cleanup LoggerUtils" into ub-launcher3-master 2020-03-23 23:21:34 +00:00
thiruram da2126f727 [automerger skipped] [DO NOT MERGE] Adds basic smart-folder logging. am: d684eddd9f -s ours
am skip reason: subject contains skip directive

Change-Id: I8a8107be57f41b6b6e04e0b28fae7d47d3a8ac38
2020-03-23 22:27:13 +00:00
thiruram d684eddd9f [DO NOT MERGE] Adds basic smart-folder logging.
This would allow collecting trimmed down version of smart-folder logs from QPR devices.

Change-Id: Ida332bd969774cabcfd72def5bed0e6409d6c8e1
2020-03-23 14:22:15 -07:00
Sunny Goyal 7fb01cc6b3 Restring the item rank to valid range since the folder contents
change during drag operation

Bug: 152193591
Change-Id: I71a3c44e84fe8c3bf787ad28c2f2fad48f0ad70a
2020-03-23 21:19:07 +00:00
Hyunyoung Song 4d9ad3a196 Cleanup LoggerUtils
Change-Id: Ibeccb61b25236ee905f61bdb5ea2255f778d4b05
2020-03-23 13:57:10 -07:00
Jon Miranda 4848604882 Polish badge animation on app open/close.
Create new ClipIconView so that the adaptive icon foreground/background can
get clipped properly, and the badge gets drawn separately on top of it.

Bug: 142105172

Change-Id: Ie5d65c20f845d9219fd01daa383f273dde0e096c
2020-03-23 12:24:04 -07:00
Joshua Tsuji d763a40b7a Ignore system gestures while bubbles are expanded.
This flag is set by System UI in ag/10760162, when bubbles are expanded. We want to disallow system gestures from starting when bubbles are expanded, since otherwise a swipe up will both close the bubbles, and the app behind them.

Test: install launcher, add bubbles, open an app, expand bubbles, observe that swiping up only closes bubbles
Test: same but in three button nav, home button should both close bubbles + the app behind it
Bug: 146167884
Change-Id: I27ed225d2029e3cb82f4959739c7b6f25fe8adb7
2020-03-23 15:05:45 -04:00
TreeHugger Robot 7a84dd66f6 Merge "Parse share-targets defined by non-main activities" into ub-launcher3-master 2020-03-23 18:27:27 +00:00
Pinyao Ting d25023b05e Parse share-targets defined by non-main activities
Some system apps do not have any launcher icons but want to publish
sharing shortcuts. As a fix, all activities are parsed for their XML
resource, which implies some of these shortcut may not hold an
activity. This CL removes that assumption from launcher side.

Bug: 136353429
Test: Manual test
Change-Id: I2994da17fe078b2fab61a614c1326fddd5fd8571
2020-03-23 17:49:34 +00:00
Sunny Goyal 6e379fc784 Removing animation when stripping empty pages, as the animation is
run by LayoutAnimation already

Bug: 151978739
Change-Id: I75b9055c3e862a6813164cce6c1ba7b2fe1f870a
2020-03-23 01:50:55 -07:00
vadimt 7a9f1628f2 Repeating unlocking the phone several times
Bug: 151613234
Change-Id: Id5cbc247d7827fa31c2011d817b2964c1486daeb
2020-03-21 15:09:39 -07:00
vadimt 7500c241ac Increasing wait time till unlock
Bug: 151613234
Change-Id: I47e0a87551cebf31fa309b9a65b2ecff809a7f00
2020-03-21 13:04:15 -07:00
TreeHugger Robot f3e40c321d Merge "Animate Work paused overlay" into ub-launcher3-master 2020-03-21 07:43:46 +00:00
Vadim Tryshev b66ba0bae7 Merge "Adding more checks around unlocking the phone" into ub-launcher3-master 2020-03-21 04:03:32 +00:00
TreeHugger Robot 6ae56860de Merge "Don't draw bottom scrim in fully gestural mode" into ub-launcher3-master 2020-03-21 03:43:52 +00:00
Samuel Fufa 1b373657a4 Animate Work paused overlay
Please see bug for video preview

Bug: 151408501
Test: Manual
Change-Id: Ic96bdc438b7c897c89261764dad16124006d7138
2020-03-20 20:19:03 -07:00
TreeHugger Robot 0ddd265fdb Merge "[Flake test] add state checks for WorkTabTest#testWorkEduIntermittent" into ub-launcher3-master 2020-03-21 02:14:49 +00:00
vadimt 330fde4aaf Adding more checks around unlocking the phone
Bug: 151613234
Change-Id: I045306cce2ce85d6895c9f050ebb4d2bd15ba232
2020-03-20 18:55:53 -07:00
Tony Wickham 81feb2c547 Don't draw bottom scrim in fully gestural mode
The scrim exists primarily to protect nav bar buttons which
don't exist in this mode.

Change-Id: Ic6de7d54f27f135eecb116ac09714c91c05b88da
2020-03-20 18:37:26 -07:00
Adam Cohen f946e0a5ee Merge "Refactor / Cleanup / Simplify a bunch of dnd related rendering / animation" into ub-launcher3-master 2020-03-21 01:27:08 +00:00