Commit Graph

6908 Commits

Author SHA1 Message Date
TreeHugger Robot 707b1d8e66 Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev am: b78e77f581
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15446311

Change-Id: Ib03d851a34a31d8d7a5722a6308b4d8e66d69621
2021-08-04 19:59:57 +00:00
TreeHugger Robot b78e77f581 Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev 2021-08-04 19:12:10 +00:00
Sunny Goyal 68031ca3f9 Storing form factor as part of backup and disabling restore if form-factor is different
Bug: 195301649
Test: Manual
Change-Id: I9a9c4bc9246f40af2209cb914b3966319bc78bff
2021-08-04 09:51:04 -07:00
Prabir Pradhan f889109cdf Merge "Enable input window rotation flag" into sc-v2-dev am: d573948424
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669176

Change-Id: I291e74cf589b8a66641a42e770a53f2215580c19
2021-08-04 14:09:36 +00:00
Prabir Pradhan d573948424 Merge "Enable input window rotation flag" into sc-v2-dev 2021-08-04 14:03:24 +00:00
Thales Lima ccdc7b47a4 navigation: don't run gesture animation if gestures are not enabled am: 8d49c4bb29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410551

Change-Id: I1661cae65ac6a27f6ae373017d364369776a38f9
2021-08-04 09:34:56 +00:00
Thales Lima 8d49c4bb29 navigation: don't run gesture animation if gestures are not enabled
Makes the animation when using 3 button navigation be closer to what we
have in non fallback mode, also fixing the problem when fallback recents
just started and don't have any views.

Fix 194487871
Test: manual with gestures, 2 button and 3 button nav

Change-Id: If3925d6bef1d14f51b86169d06607786972f5f1f
2021-08-04 09:24:12 +00:00
TreeHugger Robot bf3221b5a8 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev am: f5c3dab525
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15407110

Change-Id: Ia05b3af05c11145827e9e5b813658bc21e71d65d
2021-08-03 04:32:32 +00:00
TreeHugger Robot f5c3dab525 Merge "Migrate from using taskIDs to taskViewIDs in RecentsView" into sc-v2-dev 2021-08-03 04:20:42 +00:00
TreeHugger Robot 1ce9633815 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev am: 144b16bbb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15444309

Change-Id: Iebe3db372b4ce470e7ee53d3695cb3c6c5483faa
2021-08-02 19:37:51 +00:00
TreeHugger Robot 144b16bbb1 Merge "Band-aid for getHomeActivities returning null" into sc-v2-dev 2021-08-02 19:20:01 +00:00
vadimt 42a7d1af83 Band-aid for getHomeActivities returning null
It can return null immediately after android.intent.action.ACTION_PREFERRED_ACTIVITY_CHANGED
notification.

Test: local
Bug: 187080582
Change-Id: I8625fdfc0add57fed832bdca4713747a005bf08c
2021-08-02 10:38:12 -07:00
Hongwei Wang 28e8b2c84a Merge "Check PiP permission before entering auto pip" into sc-v2-dev am: b999186b9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15376471

Change-Id: Iceef5384ac7eb7337ce29c1d80584a14c49a9e84
2021-07-31 03:28:56 +00:00
Hongwei Wang b999186b9e Merge "Check PiP permission before entering auto pip" into sc-v2-dev 2021-07-31 03:14:11 +00:00
Vinit Nayak 51a6c92174 Migrate from using taskIDs to taskViewIDs in RecentsView
* Follow up CL coming to introduce a TaskView that
can have multiple Tasks, so a taskID won't be particularly useful
in that scenario.

Bug: 192292305
Test: Manual, w/ and w/o live tile
Change-Id: I1900b999ac51aa99923239f2af400c90c71c3dae
2021-07-30 11:02:26 -07:00
Alex Chau b922ac8534 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev am: 2095731650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410554

Change-Id: I81bcd447d2281df56f23cca29dd9619a300b2d00
2021-07-29 22:55:23 +00:00
Alex Chau 2095731650 Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev 2021-07-29 22:44:30 +00:00
Tracy Zhou 4a1bfd97c3 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-v2-dev am: 64231c8db1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15420889

Change-Id: Ib592ca43eec42e27c4b5a11b43e7866a9e54c651
2021-07-29 19:25:41 +00:00
Tracy Zhou 86bd1dce8d Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 17:23:01 +00:00
Alex Chau 7a8e2a259a Merge "Clean up screen record for tests" into sc-v2-dev am: bf89b27f90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410564

Change-Id: Ic90766ea48cc757dd968e35a6e88938186fc5296
2021-07-29 17:12:30 +00:00
Alex Chau bf89b27f90 Merge "Clean up screen record for tests" into sc-v2-dev 2021-07-29 17:00:12 +00:00
Evan Rosky ee75a0f8be Enable input window rotation flag
Bug: 179274888
Test: no-changes, all existing tests pass
Change-Id: Ib0699449cf87fbf0c5e1b76fff57fab7bf1ffb8b
2021-07-29 16:33:22 +00:00
Thales Lima 7bd0203a0e Merge "launcher: change default state for RecentsActivity" into sc-v2-dev am: 3c1a1195b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371935

Change-Id: I48d3bfd1addf5cc66ed58939691649d5ac98ac7d
2021-07-29 12:27:44 +00:00
Thales Lima 3c1a1195b4 Merge "launcher: change default state for RecentsActivity" into sc-v2-dev 2021-07-29 12:13:50 +00:00
Alex Chau 27ee6447db Clean up screen record for tests
- Add new record and remove obsolete ones

Bug: 193440212
Bug: 193125090
Bug: 192005114
Test: manual
Change-Id: I860c42961e710e1542d9d911338dd359896b6970
2021-07-29 11:01:09 +01:00
Alex Chau 455718e842 Always treat FallbackRecentsView as visible if isInLiveTileMode is true
- activity.hasBeenResumed is no longer an accurate indicator after live tile has been introduced, indeed it's always false
- Return recentsView regardless if there is a runningTask as well

Bug: 194286330
Test: In fallback Recents with 3 button, tap overview button from home screen, then tap overview button again. Try combination with back and home button
Change-Id: Ib2775a11f5466abc433763f24192e7bfdcf191a2
2021-07-29 08:42:37 +00:00
Lucas Dupin 103d4536dd Merge "Add depth to -1 screen" into sc-v2-dev am: 6d80cafc68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15405469

Change-Id: I8eddc6d9dc3747d435847422b580bc85912c0299
2021-07-28 21:54:47 +00:00
Lucas Dupin 6d80cafc68 Merge "Add depth to -1 screen" into sc-v2-dev 2021-07-28 21:40:42 +00:00
TreeHugger Robot e8a936f96e Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev am: d750d16b69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406135

Change-Id: I54225ee1227ca979620266972989e271898ebf9f
2021-07-28 20:05:19 +00:00
TreeHugger Robot d750d16b69 Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev 2021-07-28 19:52:43 +00:00
Lucas Dupin 87d752062e Add depth to -1 screen
Wallpaper will zoom out as you drag the overlay

Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
2021-07-28 12:36:31 -07:00
Tony Wickham 27ab9d96eb Let TaskbarDragView scale up before switching to system drag view
Test: Long press taskbar icons, ensure they aniamte the scale up
Fixes: 182981908
Change-Id: I573fe66c93ebf995b3f56f2c003dee987687b6a7
2021-07-28 08:03:14 -10:00
Thales Lima 0cdf92f90c launcher: change default state for RecentsActivity
When the user presses the home button, because fallback Recents doesn't
have a way to change the state, we rely on `onStop` to reset the state.
This makes the state be cleared correctly.

Fixes 192254944
Test: follow the bug

Change-Id: I177b09392214d078373e3852517b57d9172d944d
2021-07-28 16:03:43 +00:00
TreeHugger Robot ea1d6f9796 Merge "Nullify mParallelRunningAnim after it ends to avoid updating it" into sc-v2-dev am: b574095bf8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406133

Change-Id: Iec3f27847eb47a608548a2e02f404031454300a2
2021-07-28 11:50:51 +00:00
TreeHugger Robot b574095bf8 Merge "Nullify mParallelRunningAnim after it ends to avoid updating it" into sc-v2-dev 2021-07-28 11:30:54 +00:00
Alex Chau 8b11c3b574 Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: I742f4474937a14976b6ce941b139a158b9fda53c
2021-07-28 10:56:18 +00:00
Alex Chau 8e83f31100 Merge "Tune Overview size according to VisD" into sc-v2-dev 2021-07-28 10:41:16 +00:00
Tony Wickham c35c6b8863 Nullify mParallelRunningAnim after it ends to avoid updating it
Keeping the stale reference after the animation ends is dangerous because if we call end() on it, it will jump to the now-obsolete end value.

Test: atest NexusLauncherTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Bug: 193440212
Change-Id: I8ca45db7ceec2d6e6a9c6e69a6e0359fd73a7d27
2021-07-27 22:06:00 -10:00
Tony Wickham c910a3a02f Merge "Don't recreate touch controllers when ending gesture" into sc-v2-dev am: 42fe934768
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388699

Change-Id: Id884894b568f0b9eb5b8292e5678af4f5156a8fe
2021-07-27 17:24:14 +00:00
Tony Wickham 42fe934768 Merge "Don't recreate touch controllers when ending gesture" into sc-v2-dev 2021-07-27 17:05:58 +00:00
TreeHugger Robot 48d050eeb3 Merge "Overview - leave modal state on orientation changes." into sc-v2-dev am: 07e74119ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15379173

Change-Id: Ia6d1d90ab32285ff162e454badded1ffc04cfbf3
2021-07-27 08:21:16 +00:00
TreeHugger Robot 07e74119ee Merge "Overview - leave modal state on orientation changes." into sc-v2-dev 2021-07-27 08:01:10 +00:00
Tony Wickham e0da81dd34 Merge "Update taskbar background color to match overview's dark mode" into sc-v2-dev am: 5ba08b348b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388923

Change-Id: Idbfc4ad75c410a9c51fccd30af2775590cc0f2a4
2021-07-27 00:14:08 +00:00
Tony Wickham 5ba08b348b Merge "Update taskbar background color to match overview's dark mode" into sc-v2-dev 2021-07-26 23:58:13 +00:00
Lucas Dupin fd0803fc84 Merge "Request early wake-up when zooming" into sc-v2-dev am: d9713b2665
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388815

Change-Id: I0ec30f36671e829d02685a7ef76150356f946725
2021-07-26 22:21:46 +00:00
Lucas Dupin d9713b2665 Merge "Request early wake-up when zooming" into sc-v2-dev 2021-07-26 22:09:01 +00:00
Tony Wickham 67c36d3b3c Update taskbar background color to match overview's dark mode
Note that taskbar is intentionally dark even when dark theme is off, whereas overview changes to light.

Test: visual with a few wallpapers
Bug: 191614244
Change-Id: I30f8c2f04047ea26fa726c9e470b87637a6c502e
2021-07-26 11:53:23 -10:00
Tracy Zhou 5de2802a4c Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0 am: c94002600a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: Ica40da0945ef3c4b83a4be0d489333b73e123949
2021-07-26 21:50:01 +00:00
Tracy Zhou cd8e798097 Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: I1f6bad994a472a678c3e4d099ab25138eb0e0a6b
2021-07-26 21:38:54 +00:00
Tracy Zhou c94002600a Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: I881b9d322e67699ecea9414b3db2f72d05e80c3b
2021-07-26 21:35:42 +00:00