Commit Graph

58436 Commits

Author SHA1 Message Date
Tracy Zhou 6842315605 Clear command queue of OverviewCommandHelper on home tap
Fixes: 194934483
Test: manual
Change-Id: Id83b341245793c38c305e6ada5581ac4e49527a7
Merged-In: Id83b341245793c38c305e6ada5581ac4e49527a7
2021-07-29 19:09:53 +00:00
Tracy Zhou 64231c8db1 Merge "Clear command queue of OverviewCommandHelper on home tap" into sc-v2-dev 2021-07-29 19:09:39 +00:00
TreeHugger Robot 8671e54334 Merge "Removing GridMigrationTask-v1 since it has been disabled for a while" into sc-v2-dev am: b2f8f42510 am: fa01653b83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15404308

Change-Id: Idd8e1bb0ca99a2b3d26372c1559c4a0ee5253a24
2021-07-29 19:00:16 +00:00
TreeHugger Robot fa01653b83 Merge "Removing GridMigrationTask-v1 since it has been disabled for a while" into sc-v2-dev am: b2f8f42510
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15404308

Change-Id: Ifb060343fe99a015b4f0dc475a38391a92a042ee
2021-07-29 18:48:28 +00:00
TreeHugger Robot b2f8f42510 Merge "Removing GridMigrationTask-v1 since it has been disabled for a while" into sc-v2-dev 2021-07-29 18:37:15 +00:00
Alex Chau 5811d24064 Merge "Clean up screen record for tests" into sc-v2-dev am: bf89b27f90 am: 7a8e2a259a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410564

Change-Id: I5d14cfb56736864f468be3d4974b6033681293ff
2021-07-29 17:24:26 +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 f37ef77cf3 Merge "launcher: change default state for RecentsActivity" into sc-v2-dev am: 3c1a1195b4 am: 7bd0203a0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371935

Change-Id: I7e57666461570f0a092af90cc33f3fdb873af8b6
2021-07-29 12:44:03 +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
Sunny Goyal d4c399cc7d Merge "Simplifying color extraction registration logic" into sc-v2-dev am: e6935d895a am: 8b42832709
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388927

Change-Id: I734859d354b307f2f128c0c9003d33e779080086
2021-07-29 07:16:13 +00:00
Sunny Goyal 8b42832709 Merge "Simplifying color extraction registration logic" into sc-v2-dev am: e6935d895a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388927

Change-Id: I6aabac0f9af9c97937cc59f2d0f21ba752e0c36e
2021-07-29 07:02:00 +00:00
Sunny Goyal e6935d895a Merge "Simplifying color extraction registration logic" into sc-v2-dev 2021-07-29 06:53:15 +00:00
Android Build Coastguard Worker 91e4e39a21 Snap for 7592596 from 4bbd2092ff to tm-release
Change-Id: I39a76ca694fee1c6fb1322e4c6388be39f2efafc
2021-07-29 03:08:05 +00:00
Jon Spivack d317f17273 NIU Actions: Change AppTheme to LauncherTheme
Some theme attributes used for the NIU Actions Overview were originally defined in a theme that inherited from LauncherTheme. However, 3rd-party Launchers that also used themes derived from LauncherTheme were unable to access these attributes, leading to crashes when they tried to open the Recents screen on Go devices. Just adding the attributes to LauncherTheme solves this issue.

Bug: 194810415
Test: Manual (tried a couple 3rd-party launchers on Wembley)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I7a2541f2a2ab3b39e0c6cf2fe40a4b096047df70
2021-07-28 19:14:03 -07:00
Android Build Coastguard Worker 126bce276b Snap for 7592414 from 6d80cafc68 to sc-v2-release
Change-Id: I38baa99e0d8fcd53ff5d67390094795c444aa593
2021-07-29 01:14:53 +00:00
Android Build Coastguard Worker 6ce879add6 Snap for 7592383 from ce4bdd3561 to sc-release
Change-Id: Ide0def501bf578df5145639afd2952084bbcfe22
2021-07-29 01:08:44 +00:00
TreeHugger Robot 12c5a761eb Merge "Simplifying color extraction registration logic" 2021-07-29 00:26:01 +00:00
Sunny Goyal 278939fdf3 Removing GridMigrationTask-v1 since it has been disabled for a while
Also removing some data migration support

Bug: 194937047
Test: Presubmit
Change-Id: I392a5f6e49ec170f63056a7664de47229896f390
2021-07-28 15:55:43 -07:00
Sunny Goyal 69a8eecdc9 Simplifying color extraction registration logic
> Calulating correct location irrespective of transient
  state (scale/translation)
> Removing extraction pause/resume logic
> Simplifying location calculation and registration (only use one location instead of a list)

Bug: 194732483
Test: Manual
Change-Id: I255d83761bff5e09c9fb0a5e398d0be0c1d0956f
2021-07-28 15:43:13 -07:00
Sunny Goyal 031418c6e1 Simplifying color extraction registration logic
> Calulating correct location irrespective of transient
  state (scale/translation)
> Removing extraction pause/resume logic
> Simplifying location calculation and registration (only use one location instead of a list)

Bug: 194732483
Test: Manual
Change-Id: I255d83761bff5e09c9fb0a5e398d0be0c1d0956f
2021-07-28 22:42:55 +00:00
Lucas Dupin 4bbd2092ff Merge "Add depth to -1 screen" into sc-v2-dev am: 6d80cafc68 am: 103d4536dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15405469

Change-Id: Ifbbf248af32fe0a94e2888197c67c698afd46385
2021-07-28 22:06:38 +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
Jon Miranda 80dda30f49 Add more restrictions on whether we increase the hotseat size for tall devices.
Bug: 194688362
Test: test devices that should not be affected, ensure they are not affected
Change-Id: I0e027354dbafcce30cf616998d2a7bfab516b5de
2021-07-28 14:20:59 -07:00
Schneider Victor-tulias 00381bd780 Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev am: 7889887b56 am: 9a10dd0ece
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406136

Change-Id: Ia23905bda85766fae596afc5b1f8590731ce3e7e
2021-07-28 21:05:00 +00:00
Schneider Victor-tulias 9a10dd0ece Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev am: 7889887b56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406136

Change-Id: I0e87580cfe72da099dd3ef7b9ffae55d99093405
2021-07-28 20:53:04 +00:00
Schneider Victor-tulias 7889887b56 Merge "Fix incorrect PreloadIconDrawable initialization." into sc-v2-dev 2021-07-28 20:43:01 +00:00
TreeHugger Robot f47e8cbf69 Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev am: d750d16b69 am: e8a936f96e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406135

Change-Id: I90c42636333034a2c33dd9401bcfddd8a6cf99c7
2021-07-28 20:13:26 +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
Schneider Victor-tulias 2b10cb2b69 Fix incorrect PreloadIconDrawable initialization.
Fixes: 194435394
Test: tapped installing icon then went home with airplane mode on and off
Change-Id: I0dca790bbaf710a7dcbb3a30758174304ede3a38
2021-07-28 18:35:24 +00: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
kumarashishg 8185dedf56 NIU Tooltip : tooltip overlap issue fix
Overlay is getting updated multiple times, So If a tooltip is getting
shown then next overlay update call will trigger new tooltip regardless of current tooltip behavior.

If a tooltip is getting shown then other tooltips should not be triggered. Added a check for this.

Bug: 194458724
Test: Local build and run on Pixel 4a
Change-Id: I5266ddd7cfa84258b46dc14846d77872752ac442
(cherry picked from commit ced47f4ae652987f746daeec2367d184b1d63937)
2021-07-28 17:53:50 +00: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 b85052d7e5 Merge "Nullify mParallelRunningAnim after it ends to avoid updating it" into sc-v2-dev am: b574095bf8 am: ea1d6f9796
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406133

Change-Id: Id74b58f9985376be37db4d3347e9f8efd3a854e4
2021-07-28 12:05:07 +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 a8049d069d Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100 am: 8b11c3b574
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: Iac132e9b061b747425f69cefcfd54415704e6694
2021-07-28 11:05:27 +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
Android Build Coastguard Worker 198d5f2346 Snap for 7587820 from 58f5978c08 to tm-release
Change-Id: I86fd5411cf73211c814c1b75c88553a2e9a491a6
2021-07-28 03:08:08 +00:00
Android Build Coastguard Worker d283bb8be1 Snap for 7588529 from 83ba333604 to sc-v2-release
Change-Id: Ie1c792daf7a13d3091fd5cf03837c8bc6ec00300
2021-07-28 01:08:49 +00:00