Commit Graph

49925 Commits

Author SHA1 Message Date
Tony Wickham 4f91ae9b2b Merge "Fix testStressSwipeToOverview" into sc-v2-dev am: c1cdadf6ea am: 46575af511
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132969

Change-Id: I3385c009f05ce96990302e7186735ab75e635b56
2021-10-27 22:02:29 +00:00
Schneider Victor-tulias 66b2aa07fd Update the hotseat edu layout for foldable devices. am: 9188b6b993 am: 494de979db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16125840

Change-Id: I3c022d1727679b23d80eb5e158b65b0d900538fe
2021-10-27 22:02:21 +00:00
Tony Wickham 4941825496 Merge "Fix testStressSwipeToOverview" into sc-v2-dev am: c1cdadf6ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132969

Change-Id: I23ddbd3c1032e5477bc66971b41c6799dc1ee5cd
2021-10-27 21:44:41 +00:00
Schneider Victor-tulias 9f9d3d894f Update the hotseat edu layout for foldable devices. am: 9188b6b993
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16125840

Change-Id: Icd8930f73d7438257ebaf18e08be5d938386d23f
2021-10-27 21:44:34 +00:00
Tony Wickham 46575af511 Merge "Fix testStressSwipeToOverview" into sc-v2-dev am: c1cdadf6ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132969

Change-Id: I9f03c6938623e88812350981cec06048d888e9b2
2021-10-27 21:42:43 +00:00
Schneider Victor-tulias 494de979db Update the hotseat edu layout for foldable devices. am: 9188b6b993
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16125840

Change-Id: I48c6528cc857d138da7f0dc3754e0d1c661b4ccb
2021-10-27 21:42:38 +00:00
Tony Wickham c1cdadf6ea Merge "Fix testStressSwipeToOverview" into sc-v2-dev 2021-10-27 21:39:45 +00:00
Tony Wickham ce6bf7dd7f Fix testStressSwipeToOverview
- Finish recents controller to app rather than to launcher, to ensure taskbar state uses in-app configuration
- Also fix an issue when a gesture completes before onLauncherStart, which happens in 3 button mode. The error I saw in the test was:
java.lang.AssertionError: http://go/tapl test failure: Failed to receive an event for the state change: expected [Overview], actual: [Background, Normal];
Context: want to switch from background to overview, clicking Recents button; now visible state is Background
(This also accurately describes what I saw on the device, where the LauncherState went to Normal but the task was still running in the live tile)

Test: testStressSwipeToOverview
Fixes: 203577620
Change-Id: I19616f7921c9821f1b45a90a3e4bec4fb3b8a9d3
2021-10-27 12:35:31 -07:00
TreeHugger Robot 90db092f3e Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094 am: 19fbe33337
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: Ida8d9d27084f85271f51d71f6a23c75c0cf8407a
2021-10-27 18:20:41 +00:00
TreeHugger Robot ea8260ff74 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: I82020ab09534238e1cb186538f3bb32bdcfb9c21
2021-10-27 18:03:49 +00:00
TreeHugger Robot 19fbe33337 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: Ia63d6288408804d5a91d33f73e33f88b96f8329d
2021-10-27 18:02:02 +00:00
Schneider Victor-tulias 9188b6b993 Update the hotseat edu layout for foldable devices.
Test: ran the hotseat edu on folded and unfolded foldable device in portrait and landscape mode and in three-button and gesture nav mode. ran hotseat edu on regular phone
Fixes: 203734732
Change-Id: Iea2140c8241cdea60cb5db37fbfb7f7701d63bd6
2021-10-27 17:48:46 +00:00
TreeHugger Robot 3edb8de094 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev 2021-10-27 17:45:38 +00:00
TreeHugger Robot a8dacb88e2 Merge "Clean up IllegalStateException for page pairing" into sc-v2-dev am: 0c689ef773 am: 25c40cb0a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116271

Change-Id: If34f3ef5902eca2710f5cd49097d185c4d1010b3
2021-10-27 11:58:07 +00:00
TreeHugger Robot 8930cbaf52 Merge "Clean up IllegalStateException for page pairing" into sc-v2-dev am: 0c689ef773
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116271

Change-Id: I04c5afea5e58038823d207e36103e816f4040760
2021-10-27 11:41:16 +00:00
TreeHugger Robot 25c40cb0a8 Merge "Clean up IllegalStateException for page pairing" into sc-v2-dev am: 0c689ef773
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116271

Change-Id: I58e30cb563bfa92c4c48c356584a541bc2b5d12a
2021-10-27 11:39:24 +00:00
TreeHugger Robot 0c689ef773 Merge "Clean up IllegalStateException for page pairing" into sc-v2-dev 2021-10-27 11:21:46 +00:00
Tracy Zhou 387c3fb2c8 Merge "Delete TaskbarStateHander" into sc-v2-dev am: c6bdd9243a am: 6b9f78e34a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124697

Change-Id: I2b90d34e7d6ac375c67810784999969d4973a385
2021-10-27 02:48:00 +00:00
Tracy Zhou 0c79597c9c Merge "Delete TaskbarStateHander" into sc-v2-dev am: c6bdd9243a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124697

Change-Id: Ie02e8e542bd7f03e504204af23d0fd3410712e2a
2021-10-27 02:31:07 +00:00
Tracy Zhou 6b9f78e34a Merge "Delete TaskbarStateHander" into sc-v2-dev am: c6bdd9243a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124697

Change-Id: I5b2251ff4413ed9b4f6187e3f1d8b09f48aacb4a
2021-10-27 02:28:47 +00:00
Tracy Zhou c6bdd9243a Merge "Delete TaskbarStateHander" into sc-v2-dev 2021-10-27 02:11:12 +00:00
Android Build Coastguard Worker 6ebabca1c9 Snap for 7856912 from aae8a2a2a5 to sc-v2-release
Change-Id: Ia8e2ced3dd7091b0412dae3bec08ea028509ba1d
2021-10-26 23:10:28 +00:00
Pablo Gamito dbf20d09bd Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev am: aae8a2a2a5 am: 75a4280b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15972977

Change-Id: I4475a1661a2abeee5a0dac5de29667c8f34b78e5
2021-10-26 22:25:39 +00:00
Pablo Gamito 656dad492a Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev am: aae8a2a2a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15972977

Change-Id: I5433f900f341004f6dd2ee387dae36f6d31b63c5
2021-10-26 22:05:15 +00:00
Pablo Gamito 75a4280b49 Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev am: aae8a2a2a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15972977

Change-Id: I2954b72b87d49147594c8ff78b556cd6b34bf237
2021-10-26 22:03:16 +00:00
Pablo Gamito aae8a2a2a5 Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev 2021-10-26 21:32:16 +00:00
TreeHugger Robot 94235ae810 Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" into sc-v2-dev-plus-aosp am: 6a74c31e85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124620

Change-Id: Ied7748fd381b9333a4d571d53fed9a7e45fbf575
2021-10-26 21:09:11 +00:00
TreeHugger Robot 6a74c31e85 Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" into sc-v2-dev-plus-aosp 2021-10-26 20:49:43 +00:00
TreeHugger Robot d81b579fc2 Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev am: e9316d5ba7 am: fa30672ec7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124501

Change-Id: I7fea7a7151014fedd7671a4d116e878e09e6bf88
2021-10-26 20:40:31 +00:00
TreeHugger Robot 6f758ff59f Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7 am: ebe19c9517
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: Iac047c8ac675ad5cae9213e53e5a907e327f89a5
2021-10-26 20:40:05 +00:00
Tracy Zhou 72f1afcf02 Delete TaskbarStateHander
Bug: 204220602
Test: N/A
Change-Id: I6c26b4d3b8acb35750be56986555350e84f31ecb
2021-10-26 13:26:27 -07:00
TreeHugger Robot ac0d4c167a Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev am: e9316d5ba7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124501

Change-Id: I9a1a8e23e922cc6cf590103b2588ca98327e58f1
2021-10-26 20:23:21 +00:00
TreeHugger Robot 9bb891c6e6 Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: Idb089c3f56a19ad2cb48eaffeeaa3ebc906a98ab
2021-10-26 20:23:18 +00:00
TreeHugger Robot fa30672ec7 Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev am: e9316d5ba7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124501

Change-Id: I88c0653d3926b337fc243d6b1421c31c64ea131c
2021-10-26 20:20:58 +00:00
TreeHugger Robot ebe19c9517 Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: I4307baa8c2e1a5e197bc5f1cd33c8a046aa72932
2021-10-26 20:20:46 +00:00
TreeHugger Robot e9316d5ba7 Merge "Fix the fallback logic for shortcut icons when icons are missing" into sc-v2-dev 2021-10-26 20:07:40 +00:00
Vadim Tryshev 8629be753f Partially restoring reverted logging
ag/15858126 slowed down everything so
that the flake stopped to repro.

Attempting to reintroduce a more
lightweight logging hoping that the flake will
keep reproing.

Test: presubmit
Bug: 195031154

Change-Id: Ib533c22253e367cced1680a6f4d6736087f0837a
2021-10-26 20:00:55 +00:00
TreeHugger Robot 3cbee2d1d7 Merge "Using a different transition for All-set activity" into sc-v2-dev 2021-10-26 20:00:21 +00:00
TreeHugger Robot 3cdf909905 Merge "Fix overview clear all tasks button text color." into sc-v2-dev am: 766549a4ca am: 6130758570
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118174

Change-Id: I56d5244c52abb0bb57e6b893ea48c69a26161667
2021-10-26 19:35:47 +00:00
TreeHugger Robot 9dc7631d7c Merge "Fix overview clear all tasks button text color." into sc-v2-dev am: 766549a4ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118174

Change-Id: I6f910a269a448713bf8726b975799c68707a6f32
2021-10-26 19:17:19 +00:00
TreeHugger Robot 6130758570 Merge "Fix overview clear all tasks button text color." into sc-v2-dev am: 766549a4ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118174

Change-Id: Ib5d0e865339ec91c20ccd4d4f4280db9eab30b78
2021-10-26 19:14:47 +00:00
TreeHugger Robot d16a1ec9fb Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev am: 3bd6b8bf81 am: ddefceae62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116819

Change-Id: I9633178a5b1404604cae743b05484bbaed3c26fd
2021-10-26 18:45:38 +00:00
TreeHugger Robot 766549a4ca Merge "Fix overview clear all tasks button text color." into sc-v2-dev 2021-10-26 18:37:58 +00:00
TreeHugger Robot 5fb629a179 Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev am: 3bd6b8bf81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116819

Change-Id: I344b64d3ab0147ddb3fa12c1e8bf14b1ab2f3a58
2021-10-26 18:27:17 +00:00
Sunny Goyal eed4bbfb49 Using a different transition for All-set activity
Bug: 201797003
Test: Manual
Change-Id: I33b342ca224ab283e2ac475d4defe2eac6a87bb8
2021-10-26 11:25:32 -07:00
TreeHugger Robot ddefceae62 Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev am: 3bd6b8bf81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16116819

Change-Id: I456cdc5445b344d7cce23e8cea49ca22cebdcd8f
2021-10-26 18:24:47 +00:00
Vinit Nayak 3e9bd87ca9 Prevent launching app in split if task split is unsupported
Bug: 204026157
Change-Id: Ie13ac74e0c1d357db242d49083be97f0f45e6ca5
2021-10-26 11:10:23 -07:00
Pinyao Ting 35c5755b71 Fix the fallback logic for shortcut icons when icons are missing
The icons of shortcuts in general are not persisted in backup payload
and thus are not available on the new device, apps are reposponsible for
republishing those shortcuts on the new device, with the only exception
being pinned shortcuts, whose icons are stored in launcher.db as a
fallback when icons are not avaialble in the shortcut themselves.

A previous CL unexpected excluded deep shortcuts from loading their
fallback icons in launcher.db, causes pinned shortcut to fallback
further to default droid icons, this CL restores the original behavior.

Bug: 202346722
Test: manual
Change-Id: Ie09becd3a0dc1ca1e7c2573fe1b68b61a58c2091
2021-10-26 18:02:08 +00:00
TreeHugger Robot 3bd6b8bf81 Merge "Make sure distinct widgets items are used when mapping widget component names to widget items." into sc-v2-dev 2021-10-26 18:01:48 +00:00
Vadim Tryshev 12609edb72 Revert "Temporarily disable Launcher3 tests affected by fling changes"
This reverts commit bc4dc49c6c.

Reason for revert: RecyclerView bug is fixed

Change-Id: Ia2a677f3a3987751349bad951ff136b2d55f439f
Test: presubmit
Bug: 197802324
(cherry picked from commit 8b4a6ee65b)
2021-10-26 17:47:05 +00:00