Commit Graph

485 Commits

Author SHA1 Message Date
Presubmit Automerger Backend 75fab2112a [automerge] Implement splitting from Taskbar long-press 2p: abdf25d226 2p: 5c638fdfbe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17530994

Bug: 217964720
Change-Id: I97bc3a9c202ffb6897b66319ae7e0f722f4903cf
2022-04-08 19:16:20 +00:00
Presubmit Automerger Backend 5c638fdfbe [automerge] Implement splitting from Taskbar long-press 2p: abdf25d226
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17530994

Bug: 217964720
Change-Id: Ie8cc35c7ba358782186d5c0a9e9d994dfd8ba9a1
2022-04-08 19:16:13 +00:00
Jeremy Sim abdf25d226 Implement splitting from Taskbar long-press
Implements the ability to split the screen by long-pressing a Taskbar icon.

Bug: 217964720
Test: Manual
Change-Id: I5d324d8ca912c10cc3c3de21cae98fad546b85ac
2022-04-08 12:15:16 -07:00
Tracy Zhou 2766e77294 Merge changes from topic "presubmit-am-2eb27cabdda4410b8ead207e2f7f1d78"
* changes:
  [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b 2p: 37d9c87f7d
  [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
  Set finishedToApp = false when rotating in Overview
2022-04-08 16:05:21 +00:00
Tracy Zhou 6206463d94 Merge changes from topic "presubmit-am-2eb27cabdda4410b8ead207e2f7f1d78" into tm-mainline-prod
* changes:
  [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
  Set finishedToApp = false when rotating in Overview
2022-04-08 16:05:21 +00:00
Jon Miranda 34f459806d Merge changes from topic "presubmit-am-1219c4ff284044b7ac999b75c13ead7c"
* changes:
  [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203 2p: debdedebed
  [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
  Revert "Revert "Sync hotseat/taskbar handoff""
2022-04-08 01:39:42 +00:00
Jon Miranda caf5577940 Merge changes from topic "presubmit-am-1219c4ff284044b7ac999b75c13ead7c" into tm-mainline-prod
* changes:
  [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
  Revert "Revert "Sync hotseat/taskbar handoff""
2022-04-08 01:39:42 +00:00
Schneider Victor-tulias 408e8b0677 Merge changes from topic "presubmit-am-279fa1f70f1d497281418aa4023f3fdc" into tm-mainline-prod
* changes:
  [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
  Add logging to debug incorrect taskbar states caught by flaky tests.
2022-04-07 21:05:39 +00:00
Schneider Victor-tulias 1abab5be55 Merge changes from topic "presubmit-am-279fa1f70f1d497281418aa4023f3fdc"
* changes:
  [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e 2p: 977f8873f3
  [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
  Add logging to debug incorrect taskbar states caught by flaky tests.
2022-04-07 21:05:39 +00:00
Presubmit Automerger Backend b91555f2fa [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b 2p: 37d9c87f7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132

Change-Id: I65757d0e1d13cfb258b40eda75c6e3e13cfaabc4
2022-04-07 20:34:19 +00:00
Presubmit Automerger Backend 37d9c87f7d [automerge] Set finishedToApp = false when rotating in Overview 2p: 655627f70b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17643132

Change-Id: Ia37a9a05a06f0610cbf8a4bbf731744a10c44d62
2022-04-07 20:34:13 +00:00
Tracy Zhou 655627f70b Set finishedToApp = false when rotating in Overview
The issue is that we always assume finishedToApp = true when recents animation is cancelled and use that to set FLAG_IN_APP. However, we don't return to app in overview after the device is rotated. Ideally we want to get signal from onRecentsAnimationCancelled, but at this point in the release it's probably ok to use launcher state to determine it.

Fixes: 227565959
Test: manual
Change-Id: I6be800aff8108b382ca3947cd1d0a45c9e9571eb
2022-04-07 20:34:00 +00:00
Presubmit Automerger Backend 5d4c1490eb [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e 2p: 977f8873f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832

Bug: 227657604
Bug: 225205246
Change-Id: Iee994b293e1136d6b1ae6c315e1084836e9b9565
2022-04-06 21:29:24 +00:00
Presubmit Automerger Backend 977f8873f3 [automerge] Add logging to debug incorrect taskbar states caught by flaky tests. 2p: 1823bdba6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17624832

Bug: 227657604
Bug: 225205246
Change-Id: I6f79835edd8495fc5b91dcabeb2e6b68b7ce52fa
2022-04-06 21:29:18 +00:00
Schneider Victor-tulias 1823bdba6e Add logging to debug incorrect taskbar states caught by flaky tests.
- Various TAPL tasts are flaking because the taskbar is present when navigating home. Several TAPL taskbar tests are also flaking because the taskbar is missing when opening an app. Adding logging to catch when FLAG_IN_APP is being set and why it isn't being applied.

Bug: 227657604
Bug: 225205246
Test: manual
Change-Id: Ia976bb0a6c7764e571fab3ac98ee21ff22ef7674
2022-04-06 14:26:47 -07:00
Alex Chau ef7b504bef [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf 2p: 3d3b263bf0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: Id9f6f9eb9f50bd4d2d07e979f1b90c500f75e2eb
2022-04-06 18:45:32 +00:00
Alex Chau 3d3b263bf0 [automerge] Clone mInsets when copying DeviceProfile to taskbar 2p: e0227551cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17607217

Change-Id: I3caf1b56cb39c2cf5dbf88a379bec8d955c0c080
2022-04-06 18:45:25 +00:00
Alex Chau e0227551cf Clone mInsets when copying DeviceProfile to taskbar
- Set mInsets with windowBounds.insets when initialized, and set windowBounds.insets when cloning DeviceProfile
- Added more bottom sheet / all apps in DeviceProfile dump
- Also dump taskbar's device profile in dumpsys

Fix: 226968237
Test: Taskbar AllApps should have correct top padding
Test: adb shell dumpsys activity com.google.android.apps.nexuslauncher
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: I7739c699fb16544b92dc820354a643f745694c25
2022-04-06 19:44:43 +01:00
Jon Miranda b6e33441d2 [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203 2p: debdedebed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I4c81d223826ba53f18b6e03d603e2a8ffb694f35
2022-04-06 17:29:26 +00:00
Jon Miranda debdedebed [automerge] Revert "Revert "Sync hotseat/taskbar handoff"" 2p: 27f9559203
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17606862

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: If72bec9d681a0fdb873a77cf8d5e67fc5be56801
2022-04-06 17:29:17 +00:00
Jon Miranda 27f9559203 Revert "Revert "Sync hotseat/taskbar handoff""
This reverts commit efca5c8655.

Reason for revert: ANR no longer happening

Bug: 223789074
Bug: 223443781
Bug: 202507555
Change-Id: I03bfe8642ef4ed0f9e8fbd543141d39c66375604
2022-04-06 17:29:09 +00:00
Shawn Lin 91ab328855 Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev am: d1567efff5 am: d01522e17a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17395787

Change-Id: I05435c4c5ef65aff7f000c3360b6a125d12622d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 03:26:13 +00:00
Shawn Lin d1567efff5 Merge "Fixed cts failure of WindowInsetsControllerTests" into tm-dev 2022-04-06 02:37:24 +00:00
Merissa Tan f3ba57dd3f Merge "Disable taskbar stashing on desktop environment." 2022-04-01 18:19:59 +00:00
Tracy Zhou 6bf22f786b Merge "Do not append additional delimiters" into tm-dev am: bb75f59792 am: 6811c5b8ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17528595

Change-Id: Ia11c0410168db21e7c9c9855f518225d6b2a5dce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 05:05:12 +00:00
Tracy Zhou bb75f59792 Merge "Do not append additional delimiters" into tm-dev 2022-04-01 04:26:20 +00:00
Merissa Tan ce3af8d690 Disable taskbar stashing on desktop environment.
Bug: 223736439
Test: Manual
Change-Id: Iceb349b8a1dbae41e13ef1890a6834d66776c9af
(cherry picked from commit 215479443ce0339f75c691195dd14b4e9d5f4da1)
2022-03-31 18:03:56 -07:00
Tracy Zhou 0439fcdd5c Do not append additional delimiters
Fixes: 227665358
Test: N/A
Change-Id: I6ec0bca286c0824e474f04a61b7d855858490120
2022-03-31 17:15:46 -07:00
Vinit Nayak 26b6b577b9 Add metrics for taskbar 3 button nav
Fixes: 221075063
Test: wwlogcat shows right events,
new events show up on aster dashboard

Change-Id: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
Merged-In: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
2022-03-31 19:36:47 +00:00
Vinit Nayak ddbf5374aa Add metrics for taskbar 3 button nav
Fixes: 221075063
Test: wwlogcat shows right events,
new events show up on aster dashboard

Change-Id: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
2022-03-31 01:38:39 +00:00
shawnlin 34aad9e022 Fixed cts failure of WindowInsetsControllerTests
If stashing taskbar is caused IME visiblity, we could just skip updating
rounded corner insets since the rounded corners will be covered by IME
during IME is showing and task bar will be restored back to unstashed
when IME is hidden.

Bug: 225765490
Test: atest WindowInsetsControllerTests
Change-Id: If8f40add0d4d9f746169d26f46f27545b4023e90
2022-03-30 18:20:32 +08:00
TreeHugger Robot 4cb55616e2 Merge "Close system windows when toggling overview" into tm-dev 2022-03-29 16:56:16 +00:00
TreeHugger Robot 33dd4fc3f1 Merge changes from topic "presubmit-am-9de16cff35414de28b1c0e513808501b"
* changes:
  [automerge] Close system windows when toggling overview 2p: 6be66c96ef 2p: aa624d0364
  [automerge] Close system windows when toggling overview 2p: 6be66c96ef
  Close system windows when toggling overview
2022-03-29 16:56:16 +00:00
Tony Wickham 2abae73d7e Merge "Fix problems with taskbar floating views on rotation" into tm-dev am: b2aa48cad6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454588

Change-Id: I7e13f8465af418d799a37d21626bad731150e213
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 16:47:42 +00:00
Tony Wickham b2aa48cad6 Merge "Fix problems with taskbar floating views on rotation" into tm-dev 2022-03-29 16:36:16 +00:00
Presubmit Automerger Backend 79f9df7284 [automerge] Close system windows when toggling overview 2p: 6be66c96ef 2p: aa624d0364
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454593

Change-Id: I1b2abf1eb7b475fc29221799937013592f3d305e
2022-03-29 15:28:25 +00:00
Presubmit Automerger Backend aa624d0364 [automerge] Close system windows when toggling overview 2p: 6be66c96ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17454593

Change-Id: Iab40a4eff58a4e5d684cc639493a7e1d1e105d77
2022-03-29 15:28:18 +00:00
Sebastián Franco 9d5eef80cd Merge "Brighten theme-icons when in Dark mode and add dark color for taskbar" into tm-dev 2022-03-29 00:00:33 +00:00
Sebastián Franco 50d5e9a145 Merge changes from topic "cherrypick-217247494-b0lshr6mfa"
* changes:
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9 2p: e3a8e17984
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
  Brighten theme-icons when in Dark mode and add dark color for taskbar
2022-03-29 00:00:33 +00:00
Sebastián Franco 0c391a7df2 Merge changes from topic "cherrypick-217247494-b0lshr6mfa" into tm-mainline-prod
* changes:
  [automerge] Brighten theme-icons when in Dark mode and add dark color for taskbar 2p: 5282efddc9
  Brighten theme-icons when in Dark mode and add dark color for taskbar
2022-03-29 00:00:33 +00:00
Vinit Nayak 6be66c96ef Close system windows when toggling overview
Fix: 203835798
Test: Tap on overview with notification shade,
it closes

Change-Id: I01a5cab4fabf7950f48290418df3ae6cb270305c
2022-03-28 14:54:07 -07:00
Tony Wickham 538c9a0b52 Fix problems with taskbar floating views on rotation
- Close all views except TYPE_REBIND_SAFE
- Make All Apps TYPE_REBIND_SAFE again
- Reapply fullscreen to ensure any remaining floating views such as taskbr edu are laid out correctly upon rotation

Test: Rotating with folder and/or popup closes them; rotating with all apps stays open; rotating with all apps + popup closes popup but not all apps; rotating taskbar edu lays out correctly; opening shortcut or notification from all apps popup still closes all apps
Fixes: 220074790
Fixes: 219981733
Change-Id: I1dfea4ed0a636ab84bcc4e33304c80a689da01cd
2022-03-28 14:48:20 -07:00
Chavi Weingarten 7ab7a51b16 Merge "Replace consumeNextDraw with SurfaceSyncer" into tm-dev am: ba653b3b92
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17262739

Change-Id: Ia37bddc2194aa12f3897e533f907a45dcda0c7e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 22:24:52 +00:00
Chavi Weingarten ba653b3b92 Merge "Replace consumeNextDraw with SurfaceSyncer" into tm-dev 2022-03-25 22:08:17 +00:00
Tony Wickham 59d4896635 Merge "Don't recreate taskbar on rotation" into tm-dev 2022-03-25 16:14:04 +00:00
Tony Wickham c537713768 Merge changes from topic "presubmit-am-30501b00e25a47e3a8031a0c6059a1ac"
* changes:
  [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b 2p: 35c52bc1cb
  [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b
  Don't recreate taskbar on rotation
2022-03-25 16:14:04 +00:00
Vinit Nayak df16fe608c Merge changes from topic "presubmit-am-bc79a9a41aaf49ac813fd4322be9fb10"
* changes:
  [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa 2p: ea034204db
  [automerge] Hide taskbar when launcher receives nav and keyguard showing 2p: c750e3d3aa
  Hide taskbar when launcher receives nav and keyguard showing
2022-03-24 22:01:15 +00:00
Vinit Nayak 7ac2116fcc Merge "Hide taskbar when launcher receives nav and keyguard showing" into tm-dev 2022-03-24 22:01:15 +00:00
Tony Wickham 6ddc109775 [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b 2p: 35c52bc1cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17384265

Bug: 219981733
Change-Id: I33fd5069129dcb107220f12aff669ad27d304cfe
2022-03-24 17:39:55 +00:00
Tony Wickham 35c52bc1cb [automerge] Don't recreate taskbar on rotation 2p: 3b7a391c2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17384265

Bug: 219981733
Change-Id: Ic70d6ad697dd5182579f7409999f7f74233a4345
2022-03-24 17:39:48 +00:00