Commit Graph

60459 Commits

Author SHA1 Message Date
Tony Wickham 89ef745d1c Update taskbar drag and drop treatment
- Disable the FastBitmapDrawable icon instead of setting it to invisible
- Suspend auto hide during drag and drop (moved to new TaskbarAutoHideSuspendController)

Test: Drag and drop from taskbar and ensure the original icon stays in place but desaturated
Test: Open immersive app, drag and drop from taskbar and ensure taskbar doesn't hide before drop
Fixes: 200816442
Change-Id: I4b895efd043be75e7e7034bd75e751ffdd2cfdd7
2021-10-28 11:43:49 -07:00
Vinit Nayak 5e27c021ac Check if RemoteAnimationTargets apps are present
* Before the refactor to use RemoteTargetGluer,
we only set the preview if the runningTaskTarget wasn't
null, that check got removed during the refactor.
* Why that check was there to begin with is a bit
of a mystery, sadly

Fixes: 199658495
Change-Id: I053fac0fa0eee0979dff651c01287d04d06298e6
2021-10-28 11:41:43 -07:00
bquezada e12b321d5f Change AppTargetId for launcher events to align with other AppTargetId's.
Bug: 202535375
Test: Manual
Change-Id: I0c28f7f64935fdaf08edb7781e4e7378a068e8e6
2021-10-28 17:52:02 +00:00
Alina Zaidi 3623756dcd Merge "Send widget added and removed events to AiAi." into sc-v2-dev am: 29c3f23be5 am: 5c09d7e4cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16006577

Change-Id: I68a7562ec2dd9ee355dcf5dda10e6481092024df
2021-10-28 17:00:29 +00:00
TreeHugger Robot 5562e7e773 Merge "Fixing the possibility of opening multiple WidgetsFullSheet" into sc-v2-dev am: 01f8b561b3 am: a7a257c8d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118178

Change-Id: I11b81420faafed3f683ff378a5ded34ebe0dc926
2021-10-28 16:59:51 +00:00
Alina Zaidi 63c0db2354 Merge "Send widget added and removed events to AiAi." into sc-v2-dev am: 29c3f23be5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16006577

Change-Id: I4a572f1f79fbf3f82743495c808a9235f57cf0ca
2021-10-28 16:50:52 +00:00
Alina Zaidi 5c09d7e4cd Merge "Send widget added and removed events to AiAi." into sc-v2-dev am: 29c3f23be5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16006577

Change-Id: I573f530b0ce673f7cff3a39d7c54660fbee5fcf1
2021-10-28 16:50:11 +00:00
Alina Zaidi 29c3f23be5 Merge "Send widget added and removed events to AiAi." into sc-v2-dev 2021-10-28 16:45:22 +00:00
TreeHugger Robot eba07fb76c Merge "Fixing the possibility of opening multiple WidgetsFullSheet" into sc-v2-dev am: 01f8b561b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118178

Change-Id: I3c9355c001f7a91257f9a09f1df351aa3e470486
2021-10-28 16:43:32 +00:00
TreeHugger Robot a7a257c8d6 Merge "Fixing the possibility of opening multiple WidgetsFullSheet" into sc-v2-dev am: 01f8b561b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118178

Change-Id: I9395ddc5cb2f3686082e188d6e5283d3d6e5903e
2021-10-28 16:42:47 +00:00
Brian Isganitis a518fcebe7 Decrease character limit for "Home settings" to 20.
Test: No
Bug: 194892641
Change-Id: I249c270970242cd64a7f2c1c376ffd76c5848ef6
2021-10-28 12:30:08 -04:00
TreeHugger Robot 01f8b561b3 Merge "Fixing the possibility of opening multiple WidgetsFullSheet" into sc-v2-dev 2021-10-28 16:20:05 +00:00
TreeHugger Robot 6fef5f8579 Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev am: ce597d786f am: 9531506a3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124504

Change-Id: I08a3f1b2aa478bf1439c67e011f59ac9492517e8
2021-10-28 11:41:25 +00:00
Alex Chau cc1e19c3bc Merge "Partially restoring reverted logging" into sc-v2-dev am: 0cc439ab18 am: 9ce7848a8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120438

Change-Id: Id7a862358eee66fc8d47ba5a469d731f443a883c
2021-10-28 11:41:18 +00:00
TreeHugger Robot 84f35bc154 Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev am: ce597d786f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124504

Change-Id: I50d22ff1ca61176210fd210188d6023c50aa6bfe
2021-10-28 11:24:47 +00:00
Alex Chau dce89325d5 Merge "Partially restoring reverted logging" into sc-v2-dev am: 0cc439ab18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120438

Change-Id: Ic14aceea1cfeddf13930fb262f6b8ce62a53c8ec
2021-10-28 11:24:43 +00:00
TreeHugger Robot 9531506a3a Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev am: ce597d786f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124504

Change-Id: Ie6b8a70a19c67de942edb094a46a328f5a45b2f2
2021-10-28 11:24:08 +00:00
Alex Chau 9ce7848a8f Merge "Partially restoring reverted logging" into sc-v2-dev am: 0cc439ab18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120438

Change-Id: Ie4d9490ff68cdc4427f31696b188ba139bf57542
2021-10-28 11:24:03 +00:00
TreeHugger Robot ce597d786f Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev 2021-10-28 11:19:39 +00:00
Alex Chau 0cc439ab18 Merge "Partially restoring reverted logging" into sc-v2-dev 2021-10-28 11:10:17 +00:00
Alex Chau ec75b26c9d Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e am: 552368ee5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I737ee25cd9bbd56534af3ca4aee07b6662e7e5b4
2021-10-28 10:56:46 +00:00
Alex Chau 7e199038fd Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: Ia0edd91f46f984b624d4f06e26c9a4299508ff4f
2021-10-28 10:45:49 +00:00
Alex Chau 552368ee5f Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I25f201e6fe4dd8dee8b66d0cca1b2f5c36622885
2021-10-28 10:45:08 +00:00
Alex Chau 14c8f45b5e Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev 2021-10-28 10:27:30 +00:00
Bill Lin 5e203171b9 Merge "Allow One-handed gesture when densityDpi > 600" into sc-v2-dev am: 497d08aa01 am: e3cb7533b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16113733

Change-Id: Iad355a2f94720775ef2b7b5e1542dfa32376ddbc
2021-10-28 03:01:24 +00:00
Bill Lin 796200d54a Merge "Allow One-handed gesture when densityDpi > 600" into sc-v2-dev am: 497d08aa01
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16113733

Change-Id: Id37abf6a8ce1e494fd1a43f6d8d8ce844f948c78
2021-10-28 02:45:16 +00:00
Bill Lin e3cb7533b6 Merge "Allow One-handed gesture when densityDpi > 600" into sc-v2-dev am: 497d08aa01
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16113733

Change-Id: I509685116781a6f9fe2966ee12c6f993e20e7fb7
2021-10-28 02:43:07 +00:00
Bill Lin 497d08aa01 Merge "Allow One-handed gesture when densityDpi > 600" into sc-v2-dev 2021-10-28 02:20:24 +00:00
Becky Qiu aa9a446b76 [OneSearch] Add onesearch plugin api to trigger image from URL.
Bug: 199289915
Test: manual

Change-Id: Ib96de90f87214ea7bd224d0c543cc9578527366e
2021-10-27 19:08:47 -07:00
Android Build Coastguard Worker 676c1913ef Snap for 7860154 from 90db092f3e to tm-release
Change-Id: I508c29e231dbe01e4877e5238dcaacaaba458a03
2021-10-28 01:09:06 +00:00
Android Build Coastguard Worker 76abbfc03b Snap for 7859607 from 0c689ef773 to sc-v2-release
Change-Id: Id195f4d5105df3935334eeffebffcc20b0a16ac9
2021-10-27 23:08:26 +00:00
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