Commit Graph

25890 Commits

Author SHA1 Message Date
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 c1629530cc Merge cherrypicks of [10620498, 10619541, 10620616, 10619088, 10620617, 10620618, 10619089, 10619090, 10619091, 10619092, 10619326] into rvc-release
Change-Id: I93933eebb290da59096a39e4aa0722975d7f6217
2020-03-10 21:42:15 +00:00
Tony Wickham 3f1eff5a83 Fix crash when dumping before user unlocks
Bug: 150864182
Bug: 151050221
Change-Id: I29ba2ef66b4359a47f866d02306498537c45236e
(cherry picked from commit b365cc4387)
2020-03-10 21:42:08 +00:00
Automerger Merge Worker 27e0c0dc8f [automerger skipped] Dismisses system overlays for Home intent. am: d5cafac586 -s ours
am skip reason: Change-Id Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a with SHA-1 ecf9323831 is in history

Change-Id: I71b64b0c6d9ef5720884ebf70338facded7d5d04
2020-03-10 21:07:19 +00:00
Andy Wickham d5cafac586 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:34:47 +00:00
android-build-team Robot 990698b941 Snap for 6279178 from 3f20390b0e to rvc-release
Change-Id: I387bd78f9d7f1da8425a8f43f71cc73eccacc25a
2020-03-10 02:11:31 +00:00
Andy Wickham ecf9323831 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 :)
Fixes: 146593239

Change-Id: Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a
(cherry picked from commit 65ced1b1d0)
2020-03-10 01:56:24 +00:00
Automerger Merge Worker 72ace27c96 [automerger skipped] Merge "[DO NOT MERGE] Fix some visual jumps when swiping home" into qt-qpr1-dev am: 4461347e0e -s ours
am skip reason: subject contains skip directive

Change-Id: I34af026be74f33fdc5fa93de1b2b9b09d429b1f9
2020-03-10 01:05:39 +00:00
Jonathan Miranda 4461347e0e Merge "[DO NOT MERGE] Fix some visual jumps when swiping home" into qt-qpr1-dev 2020-03-10 00:49:13 +00:00
android-build-team Robot 54e37dcb1b Merge cherrypicks of [10604824, 10605819, 10605820, 10602363] into rvc-release
Change-Id: I55be8f686c53a908ab973151413d131d3c158477
2020-03-10 00:05:15 +00:00
Tony Wickham 9a8c9aa687 Fix crash when dumping before user unlocks
Bug: 150864182
Bug: 151050221
Change-Id: I29ba2ef66b4359a47f866d02306498537c45236e
(cherry picked from commit b365cc4387)
2020-03-10 00:05:08 +00:00
Tony Wickham 7759c43bf2 Fix crash when dumping before user unlocks
Bug: 150864182
Bug: 151050221
Change-Id: I29ba2ef66b4359a47f866d02306498537c45236e
2020-03-09 21:23:28 +00:00
Automerger Merge Worker 3f20390b0e [automerger skipped] [DO NOT MERGE] Turn off FOLDER_NAME_SUGGEST feature flag am: a299714c7a -s ours
am skip reason: subject contains skip directive

Change-Id: I1bef89dda2627f083794598b430701cdc62b22da
2020-03-09 20:14:32 +00:00
Jon Miranda 96c2220f7f [DO NOT MERGE] Fix some visual jumps when swiping home
All caused by running the transform progress from 0 to 1 instead of
starting at whatever the progress was before ending the gesture, e.g.:
- When swiping to home without animating into an icon, the corner radius
  was set back to the window corner radius.
- Before this change, the clip didn't update throughout the animation,
  making the window slightly bigger than the floating icon view; after
  this change, the clip jumped to show the insets again before clipping
  back down during the home animation.

Partial backport of ag/Ie48f4b665a5bf3cbef76bdf7f043febe99fb84a0

Bug: 150680980
Change-Id: Ida65097f0ef7d2e11d48b84ecdd353ef89078015
2020-03-09 20:01:11 +00:00
android-build-team Robot 70a7548568 Snap for 6275808 from e31a09a9bf to rvc-release
Change-Id: I598a5473ca9e7c2760703f5da87d9216e55de3e9
2020-03-08 23:09:02 +00:00
Hyunyoung Song a299714c7a [DO NOT MERGE] Turn off FOLDER_NAME_SUGGEST feature flag
Bug: 150788630

Change-Id: I740d6b6f3ee1a33a95debfafa29b3caea24a03c3
(cherry picked from commit f538393e42)
2020-03-08 05:04:12 +00:00
Andy Wickham e31a09a9bf Removes iconloaderlib from Launcher3.
Bug: 138964382
Test: builds
Change-Id: Ic60adfb2ebdcf1a72b440df26023b861fd6e62d5
Merged-In: Ic60adfb2ebdcf1a72b440df26023b861fd6e62d5
2020-03-07 23:45:37 +00:00
android-build-team Robot f00319f5d0 Snap for 6272866 from ca755c3846 to rvc-release
Change-Id: I063ca9df898024fe5065aa618d961e7c25b305f5
2020-03-07 03:11:24 +00:00
Winson Chung ca755c3846 Fallback to predefined orientation handler if recents view isn't available
Bug: 146176182
Test: Swipe up with 3p launcher to home
Change-Id: Iaed42fb9ef598d65e1cf2d166cc343f888352d47
(cherry picked from commit e90adc47ef)
2020-03-06 17:36:05 +00:00
Vinit Nayak 8f03c5c1ce Merging from ub-launcher3-master @ build 6269120
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_rvc-dev_6269120.html
Change-Id: I17d430abf3804e30d5d76628c2a4e693d4f1d700
2020-03-06 03:50:15 +00:00
android-build-team Robot c78710981e Snap for 6269144 from 33dbf83f16 to rvc-release
Change-Id: I39a2c3673442e7551f2f144cc4af30e93d19cdc5
2020-03-06 03:13:31 +00:00
TreeHugger Robot 93648b0a5a Merge "Move getRotationHelper() call to LauncherRecentsView" into ub-launcher3-master 2020-03-06 01:11:10 +00:00
Vinit Nayak a6fb77f1b5 Move getRotationHelper() call to LauncherRecentsView
3P launchers were causing a ClassCastException so
moved it down to Launcher specific code.
3P as a whole will have to be handled better with the
new rotation paradigm so this will be addressed then.

Fixes: 146176182
Test: Set Nova Launcher as default home app
Swiped up to recents, nothing breaks.

Change-Id: I91a267f3a29bd5b9638bc9b69d864ac2de3f3d72
2020-03-05 16:19:26 -08:00
Zak Cohen 8f1e00b662 Log proto - add select mode item interaction type.
Test: build locally
Change-Id: I3d296bc17bed91669223182d2ed5cff7af70940f
2020-03-05 15:41:22 -08:00
TreeHugger Robot 375c8e0337 Merge "Verifying that tests run against a matching Launcher version" into ub-launcher3-master 2020-03-05 22:29:29 +00:00
Matt Casey cc6caff02f Merge "Let launcher to provide its own OverscrollPlugin" into ub-launcher3-master 2020-03-05 22:18:05 +00:00
vadimt 6d605da821 Verifying that tests run against a matching Launcher version
Change-Id: I3a6c9e1a2487cfd571abdf4bdd18ab17c7ac9406
2020-03-05 13:36:12 -08:00
Automerger Merge Worker 33dbf83f16 [automerger skipped] [DO NOT MERGE] Prevent hotseat touch hijack am: acf0a5da0b -s ours
am skip reason: subject contains skip directive

Change-Id: I55f05db6ab984888e390e6aa1d3fabc830f2b107
2020-03-05 20:43:30 +00:00
TreeHugger Robot 4cc857ae79 Merge "Prevent hotseat touch hijack" into ub-launcher3-master 2020-03-05 20:38:05 +00:00
Samuel Fufa 748afbec35 Prevent hotseat touch hijack
Bug: 148639821
Test: Manual
Change-Id: Ia08af6b243a3492a898371b7bc66158df49d2427
2020-03-05 11:41:49 -08:00
Automerger Merge Worker 74e78e95a8 [automerger skipped] [DO NOT MERGE] Prevent hotseat touch hijack am: bfa3be34ce -s ours
am skip reason: subject contains skip directive

Change-Id: I1ea142caab0459b9ba46a5ed843e968de5ebbf21
2020-03-05 19:16:40 +00:00
TreeHugger Robot d26618acba Merge "Enabling testQuickSwitchFromApp after causes of flakiness were fixed" into ub-launcher3-master 2020-03-05 18:56:07 +00:00
Matt Casey 0318a652c1 Let launcher to provide its own OverscrollPlugin
If the local OverscrollPlugin provided by the activity is non-null and
FORCE_LOCAL_OVERSCROLL_PLUGIN is true, the local plugin object overrides
the loaded actual plugin.

Test: Manual testing flipping the flag and observing which plugin is
activated.
Bug: 150245271

Change-Id: I0cd5184628c2cb572b5e1c56d6a008dcaa8807fb
2020-03-05 13:54:45 -05:00
TreeHugger Robot 51e71c70cd Merge "Fixing unregistering mOtherHomeAppUpdateReceiver twice" into ub-launcher3-master 2020-03-05 18:29:24 +00:00
Samuel Fufa acf0a5da0b [DO NOT MERGE] Prevent hotseat touch hijack
Currently in AllAppsContinerView#onInterceptTouchEvent we check if a
touch event is in bounds of RecyclerViewFastScroller and set
mTouchHandler so the scroll bar handles onTouchEvent. However, if a user
performs a back gesture from the right side (which overlaps with the
scroller) and returns home, touches to the hotseat get intercepted.

Bug: 148639821
Test: Manual
Change-Id: Ie44f3a16b628b12ad00a7ae6c6bc5703171fbb56
2020-03-05 16:39:20 +00:00
Samuel Fufa bfa3be34ce [DO NOT MERGE] Prevent hotseat touch hijack
Currently in AllAppsContinerView#onInterceptTouchEvent we check if a
touch event is in bounds of RecyclerViewFastScroller and set
mTouchHandler so the scroll bar handles onTouchEvent. However, if a user
performs a back gesture from the right side (which overlaps with the
scroller) and returns home, touches to the hotseat get intercepted.

Bug: 148639821
Test: Manual
Change-Id: Ie44f3a16b628b12ad00a7ae6c6bc5703171fbb56
2020-03-05 08:38:13 -08:00
TreeHugger Robot 38f68a1479 Merge "Disabling testToast on virtual devices" into ub-launcher3-master 2020-03-05 03:44:24 +00:00
TreeHugger Robot 0d0dd812f6 Merge "Update pullback start and max progress based on RecentsView scale" into ub-launcher3-master 2020-03-05 03:06:38 +00:00
TreeHugger Robot a4724966bd Merge "Feature flag for using hardware optimization for folder animations" into ub-launcher3-master 2020-03-05 03:06:05 +00:00
vadimt f6385576d5 Disabling testToast on virtual devices
Bug: 150303529
Change-Id: Ie523b79468f37e9edbd50f77db4d358e6713a463
2020-03-04 18:49:52 -08:00
vadimt 5a07aadf86 Feature flag for using hardware optimization for folder animations
Bug: 144338174
Change-Id: I92cc399da077c4c4da8264c20136302ede25ed01
2020-03-04 18:34:07 -08:00
Tony Wickham 34e88d0999 Update pullback start and max progress based on RecentsView scale
Instead of having defined constants that are hard to tune, now we
calculate the factors at runtime based on the launcher animation scale.
This ensures the pullback always has reasonable values regardless of
orientation, feature flags, etc.

Bug: 149934536
Change-Id: If07e3b87475f8f9613e94df00c394430aad7d507
2020-03-04 18:20:52 -08:00
Riddle Hsu 7a7468fd39 Invalidate snapshot of home if its UI is changed
Snapshot may be enabled for home task when turning off
screen. If home UI has changed after screen off, the
snapshot should not be used to avoid ugly visual effect.

Bug: 140811348
Test: Lock/unlock device while home is on top with 4 cases:
      1. All apps is shown.
      2. Overview is shown.
      3. Options menu is shown.
      4. Quick search bar is active.
      The expected result should be no starting window
      when unlocking because the snapshot is dropped.

Change-Id: I4bd9926b6f9332ac16b1b3a25ffdd44706015a33
(cherry picked from commit 0ae61c8d29)
2020-03-05 01:39:18 +00:00
Winson Chung 67457275e0 Merge "Register/unregister all apps system action with accessibility" into ub-launcher3-master 2020-03-05 01:24:03 +00:00
TreeHugger Robot 488eebb78b Merge "FeatureFlags OWNERS rule should not inherit parent" into ub-launcher3-master 2020-03-05 01:16:53 +00:00
Hyunyoung Song 9879c38452 FeatureFlags OWNERS rule should not inherit parent
Bug: 150812984
Change-Id: I01c6d4509183915ed187c8d36c4cf00fe6eaa5c6
2020-03-04 16:46:02 -08:00
Hongming Jin d91cb6e75f Register/unregister all apps system action with accessibility
Bug: 136286274
Change-Id: Ia43d30b7cf078f56cc9887c8b3fb31924ad2b1b0
2020-03-04 16:24:05 -08:00
TreeHugger Robot 63d44ad679 Merge "Default ENABLE_PREDICTION_DISMISS to true" into ub-launcher3-master 2020-03-05 00:19:04 +00:00
Samuel Fufa 73cb009470 Default ENABLE_PREDICTION_DISMISS to true
Bug: 142753423
Change-Id: I73bfb35fdd952a64233950254870afa393ed79ae
2020-03-04 15:43:15 -08:00
Sreyas Rangaraju 75f7e649c0 Merge "OverviewActions: Creating single view instance. Makes use of there being a single instance of OverviewActionsView rather than each Task having it's own." into ub-launcher3-master 2020-03-04 22:40:35 +00:00