Commit Graph

25783 Commits

Author SHA1 Message Date
Automerger Merge Worker afec52f56c Removes iconloaderlib from Launcher3. am: e31a09a9bf am: 4170b448be
Change-Id: I91a1299045857de8f2c39f5644ef09e45110ccc1
2020-03-08 03:05:38 +00:00
Automerger Merge Worker 4170b448be Removes iconloaderlib from Launcher3. am: e31a09a9bf
Change-Id: I4158aa04194bd80ce58e54b41f3e0974e64bdf62
2020-03-08 02:45:48 +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
Automerger Merge Worker a51778a5e5 Fallback to predefined orientation handler if recents view isn't available am: ca755c3846 am: b8d673abf7
Change-Id: Id9c9283e191a687c004baae34b2ef430c6630a86
2020-03-06 21:22:48 +00:00
Automerger Merge Worker b8d673abf7 Fallback to predefined orientation handler if recents view isn't available am: ca755c3846
Change-Id: I237a1ec06473ece818ffa43bc148426d820d0d3d
2020-03-06 21:07:29 +00:00
Automerger Merge Worker e576173997 Merging from ub-launcher3-master @ build 6269120 am: 8f03c5c1ce am: 8df766f1ba
Change-Id: I26b7956629d4afe63fc1085351472a024880533a
2020-03-06 18:03:04 +00:00
Automerger Merge Worker 8df766f1ba Merging from ub-launcher3-master @ build 6269120 am: 8f03c5c1ce
Change-Id: Iac362976aead4c1a386ddc637ec410e4c87d6b99
2020-03-06 17:50:23 +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
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 b040757e5b [automerger skipped] [DO NOT MERGE] Prevent hotseat touch hijack am: acf0a5da0b -s ours am: 33dbf83f16 am: 841e8f2adf
Change-Id: I4614fa80d2544ee1ba026ae25fd33d9a738f9857
2020-03-05 21:09:51 +00:00
Automerger Merge Worker 841e8f2adf [automerger skipped] [DO NOT MERGE] Prevent hotseat touch hijack am: acf0a5da0b -s ours am: 33dbf83f16
Change-Id: Icdad561d32e1e7a1b2c395caaaf400e5660b7939
2020-03-05 20:57:40 +00: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
Jonathan Miranda c74ab044e2 Merge "Add more swipe up to home/spring variables as dynamic resources." into ub-launcher3-master 2020-03-04 22:16:53 +00:00
TreeHugger Robot 96f9c8bba2 Merge "Allowing Launcher to be backed up while in foreground" into ub-launcher3-master 2020-03-04 22:02:45 +00:00
Jon Miranda 1a3047666a Add more swipe up to home/spring variables as dynamic resources.
Bug: 147302669
Change-Id: I7a13f1eac8324d963302f5f42793478896f10097
2020-03-04 12:52:02 -08:00
Sunny Goyal 3bba168e62 Allowing Launcher to be backed up while in foreground
Full backup requies the process to be killed, and hence avoids backing
up apps which are in foreground. Since the launcher is more likely to be
the foreground app when device is locked, it never gets backuped up.

Note that full backup only runs when the screen is off, and the launcher
activity is restarted as soon as the full backup is complete (without
waiting for the screen to turn on).
There would not be much visible impact to the user.

Bug: 30970354
Change-Id: Icc16b35682c5b8d59316bd9d68774d38cbee47dd
2020-03-04 12:37:44 -08:00
Sreyas 321bfae905 OverviewActions: Creating single view instance.
Makes use of there being a single instance of OverviewActionsView
rather than each Task having it's own.

Change-Id: I881121f84de99cade3cd8f07fa8510a557b28f57
2020-03-04 11:38:59 -08:00
Vadim Tryshev 0ae6433a61 Merge "Saving heap dump immediately as reported by StrictMode" into ub-launcher3-master 2020-03-04 19:31:55 +00:00
vadimt 99f8a99463 Enabling testQuickSwitchFromApp after causes of flakiness were fixed
Bug: 143285809
Change-Id: Ie0c20bfdb04276adf349e90bf6826c89e9fbb5e3
2020-03-04 10:52:22 -08:00
TreeHugger Robot 9f30165b8c Merge "Set default launcher orientation to portrait" into ub-launcher3-master 2020-03-04 01:43:30 +00:00
Vinit Nayak 5fcf061cb9 Set default launcher orientation to portrait
Also stop OrientationTouchTransformer from
spamming logs
b/150214193 should track properly handling
this in the future

Fixes: 146176182
Test: New vertical layout showed up when
swiping to Overview w/ landscape app.
Works for both autorotate on and off.

Change-Id: I3707cf7b5693be0fcf4d63491901f4ec00793f4f
2020-03-03 16:54:08 -08:00
Andy Wickham a9673f4b5c Adds option to launch Gesture Sandbox from dev settings.
This is set to have the same task affinity as Launcher
so that it inherits the ability to ignore system gestures.

Bug: 148542211
Change-Id: I29bc5599dea61c44be721dcc0bec7bc494c415c4
2020-03-04 00:47:38 +00:00