Alex Chau
e7cd85204e
Revert "DO NOT MERGE Fix the cutout of magnification border" am: c91a43e110
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182773
Change-Id: Id4077d5b7050fa3403379f57f40a61365e9158a1
2021-11-03 17:07:29 +00:00
Alex Chau
c91a43e110
Revert "DO NOT MERGE Fix the cutout of magnification border"
...
Revert "Do NOT MERGE Fix magnification border includes taskbar"
Revert submission 16003793-magnification_border
Bug: 196510717
Reason for revert: Caused NexusLauncherTests and NexusLauncherOutOfProcTests to stop running
Reverted Changes:
Ibbc9c51ea:Do NOT MERGE Fix magnification border includes tas...
Ida2bb5bf1:DO NOT MERGE Fix the cutout of magnification borde...
Change-Id: I6b2123aedd2a2f23142a34f158d2d9ab71948a18
2021-11-03 14:19:23 +00:00
Benno Lin
1cfa05ad08
Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509
Change-Id: I4b60b6e1fa2c7a14d837ef74cd2d3f4c0f6f9f25
2021-11-03 06:20:17 +00:00
Benno Lin
97d749833c
Merge "Implement pressing back button and swiping back" into sc-v2-dev
2021-11-03 06:03:49 +00:00
ryanlwlin
20dc41372d
DO NOT MERGE Fix the cutout of magnification border am: 571df892f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16003757
Change-Id: I2ea490bc2334a57b6edaa458f1313f91b22ffacc
2021-11-03 05:41:41 +00:00
Ryan Lin
0ee6940bd0
Merge "DO NOT MERGE Fix the cutout of magnification border" into sc-v2-dev
2021-11-03 05:24:27 +00:00
Vinit Nayak
2535db410c
Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev am: 874ea446c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177161
Change-Id: Ie1f5611e4c4e0826eb687acb95dd157f641341d4
2021-11-03 05:18:12 +00:00
Vinit Nayak
874ea446c9
Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev
2021-11-03 05:04:32 +00:00
ryanlwlin
571df892f7
DO NOT MERGE Fix the cutout of magnification border
...
If the window is unmagnifiable, it might cause the cutout of
magnification region.
To fix it, we set the flag when the touchable region is not the
entier window frame.
Bug: 196510717
Test: manual test on gestural and 3-button navigation
Change-Id: Ida2bb5bf120038ac9153e12790b93bdec195adbc
2021-11-03 10:50:09 +08:00
Benno Lin
6c00386c2b
Implement pressing back button and swiping back
...
This CL implements a pressBack function to press back button or swiping
back in gesture navigation mode.
Bug: 199120092
Test: atest -c Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testPressBack &&
atest -c NexusLauncherTests:com.android.quickstep.TaplTestsQuickstep#testPressBack
Change-Id: I001cea17d09ae1ab7952d04ee394a2afa5bf1e67
2021-11-03 02:28:37 +00:00
Zak Cohen
78515f70cd
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 427113fa58
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177152
Change-Id: Ia31be9a80f63bcfa79eea32af816748ed80ff4e0
2021-11-02 23:48:12 +00:00
Zak Cohen
427113fa58
Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev
2021-11-02 23:33:31 +00:00
Vinit Nayak
3fabe054c2
Revert "Align OverviewActionsView for 3 button taskbar"
...
This reverts commit 97d64ea8a1 .
Reason for revert: b/204891006
Change-Id: I9d40a5c8c9bce6b818779ebaf748bb9bd9231caf
2021-11-02 22:08:33 +00:00
Zak Cohen
21f6189cd5
Add temporary logging to try and debug: b/202414125
...
Bug: 202414125
Test: Local
Change-Id: I641f9877972f3f584e5fc618d89c65c52f0d1da0
2021-11-02 14:17:15 -07:00
Vinit Nayak
8f4bcaf01f
Merge "Align OverviewActionsView for 3 button taskbar" into sc-v2-dev am: ac24e7f6f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16094825
Change-Id: Ic19f93d50fbd4ae72a2baf660647090ae87a9fbb
2021-11-02 05:52:18 +00:00
Vinit Nayak
b8183b8bf3
Merge "Check if RemoteAnimationTargets apps are present" into sc-v2-dev am: a216ad2c36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142291
Change-Id: Ie2063e2dfd117a2cb18bc3b36976e1ce652ba2c3
2021-11-02 05:52:12 +00:00
Vinit Nayak
ac24e7f6f0
Merge "Align OverviewActionsView for 3 button taskbar" into sc-v2-dev
2021-11-02 05:37:45 +00:00
Vinit Nayak
a216ad2c36
Merge "Check if RemoteAnimationTargets apps are present" into sc-v2-dev
2021-11-02 05:37:13 +00:00
Vinit Nayak
97d64ea8a1
Align OverviewActionsView for 3 button taskbar
...
Bug: 189807374
Change-Id: I028ae31b98e28bc372f0148a28755d067fe50678
2021-11-02 01:13:02 +00:00
TreeHugger Robot
1ba47a8fd1
Merge "Do not use shared lib resources" into sc-v2-dev am: 651b93bb53
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16166672
Change-Id: Icac5cbbb004b8dcd3057c0c8e886848361a725d0
2021-11-01 20:53:51 +00:00
TreeHugger Robot
651b93bb53
Merge "Do not use shared lib resources" into sc-v2-dev
2021-11-01 20:40:43 +00:00
Tony Wickham
af0b447e29
Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev am: c29f5441da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143050
Change-Id: Id6cf4eb35c638d303f78930d4fdcb1dc3e205d5c
2021-11-01 20:20:23 +00:00
Tony Wickham
c29f5441da
Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev
2021-11-01 20:17:53 +00:00
Jonathan Miranda
470c4ffe3b
Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev am: 9b85616119
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16151440
Change-Id: Ibe2f993cfb5614d4a5a39463277f23ca7c126604
2021-11-01 18:51:55 +00:00
Jonathan Miranda
9b85616119
Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev
2021-11-01 18:35:44 +00:00
Vinit Nayak
2256ab7ad9
Merge "Clean up RemoteTargetHandles when RecentsAnimation ends" into sc-v2-dev am: 6e5f4e3184
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142695
Change-Id: I889b67a25b2fbadc3f2e400935ededc7e84a543b
2021-11-01 18:14:56 +00:00
Vinit Nayak
6e5f4e3184
Merge "Clean up RemoteTargetHandles when RecentsAnimation ends" into sc-v2-dev
2021-11-01 18:01:37 +00:00
Tony Wickham
e62cedb2ec
Merge "Add null check when settling on LAST_TASK" into sc-v2-dev am: d48fbecd1a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150962
Change-Id: I6555707e2656a3b12a2c5668fd574e7878332d6f
2021-11-01 16:37:59 +00:00
Thales Lima
997bee0c73
Merge "add kotlin support for launcher" into sc-v2-dev am: 33f9de0225
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101503
Change-Id: I9fc3755ff0755512c871e64a632d553b61a65041
2021-11-01 16:37:38 +00:00
Tony Wickham
d48fbecd1a
Merge "Add null check when settling on LAST_TASK" into sc-v2-dev
2021-11-01 16:22:15 +00:00
Thales Lima
33f9de0225
Merge "add kotlin support for launcher" into sc-v2-dev
2021-11-01 16:03:58 +00:00
Nick Chameyev
5f11bf60a8
Do not use shared lib resources
...
Temporary removes usages of SysUI shared
resources as it leads to crashes in Launcher
tests.
Bug: 204727471
Test: install launcher, try autorotate suggestion
Change-Id: I1e3c1f5b331a22a753acc3fe0ee544d50fba5c18
2021-11-01 15:49:54 +00:00
Nick Chameyev
e8dd2e16b8
Move floating rotation button handling to Launcher am: 0288d2e8bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101502
Change-Id: I1ae7ea211aa8eafaaecbde5b2b356035fc254b6d
2021-11-01 12:50:26 +00:00
Nick Chameyev
0288d2e8bb
Move floating rotation button handling to Launcher
...
Moves handling of floating rotation button when navigation
bar is not created to the launcher. This button was not
showing when taskbar is visible as it was initialized in
navigation bar (which is not created for large screens).
Bug: 200103245
Test: rotate phone when autorotate disabled on inner screen
Test: showing rotate suggestion when gesture nav enabled/disabled
Change-Id: I13dd555bcd811f1524be7ab9ad51b2b012b3b749
2021-11-01 10:36:34 +00:00
Bill Yi
dee85291d4
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9a64b39bfc779dc7c8261f0571aee1b4e53ea605
2021-10-30 01:20:28 +00:00
Jon Miranda
029a644a6e
Remove PROTOTYPE_APP_CLOSE feature flag and associated code.
...
Flag was never enabled, safe to remove.
Bug: 200999899
Test: manual
Change-Id: Ie2646d8c4b9a1c40fac1bfd7dadf4ec714171aec
2021-10-29 16:07:29 -07:00
Tony Wickham
2ca7e2695c
Add null check when settling on LAST_TASK
...
Test: N/A
Fixes: 203237855
Change-Id: I511fde0ba3f22720ed1fe29769c97a3207a98a4b
2021-10-29 14:15:53 -07:00
Tony Wickham
446dfa8b11
Merge "Recreate taskbar when dark mode changes" into sc-v2-dev am: d71a4288cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16144065
Change-Id: I7d5777ed488f8e200cc556e584d29c9cd0545daf
2021-10-29 17:43:38 +00:00
Thales Lima
26f44911a6
add kotlin support for launcher
...
Bug: 193432925
Test: click on the app icon and check logcat
Change-Id: I2ca4d57105fe4e1b1dfc6c968a7c1bbd3cbd2151
2021-10-29 15:40:41 +00:00
Tony Wickham
5a5a926945
Recreate taskbar when dark mode changes
...
Also dispatch sysui flags to all controllers upon recreate, not just NavbarButtonsViewController. Additionally, tell the controllers to skip the animation due to the flag changes if it's fromInit.
Test: Enable themed icons, switch dark theme in quick settings, ensure taskbar updates
Fixes: 204403933
Change-Id: Ic43a50cf0456175f9beba5c29360440f051cbd2d
2021-10-28 17:49:03 -07:00
Tony Wickham
e984618610
Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev am: 00841576d4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143390
Change-Id: I2521d09e43988565816de0c60f5d1a4b9500b808
2021-10-28 22:53:44 +00:00
Tony Wickham
00841576d4
Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev
2021-10-28 22:40:01 +00:00
TreeHugger Robot
ccb17341b1
Merge "Update taskbar drag and drop treatment" into sc-v2-dev am: da86c0e64d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134100
Change-Id: I0964f7f4aa1ef9c12758d4cdda22f171279b84ac
2021-10-28 21:11:55 +00:00
TreeHugger Robot
da86c0e64d
Merge "Update taskbar drag and drop treatment" into sc-v2-dev
2021-10-28 20:54:09 +00:00
Tony Wickham
956ce16f51
Fix NPE when TaskView isn't attached to RecentsView
...
Test: theoretical
Fixes: 201481275
Change-Id: Ie10b5ebac373e41a4d4113ee3cda737d88adad8a
2021-10-28 13:21:15 -07:00
TreeHugger Robot
3a5e6199eb
Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev am: d84aaad11f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960473
Change-Id: I6da155c5df23f3636ec3e6d790908a498f02e06b
2021-10-28 20:00:17 +00:00
bquezada
c9845ed750
Change AppTargetId for launcher events to align with other AppTargetId's. am: e12b321d5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16141869
Change-Id: I804e0eb0ee5c449d5b441c78f3128eae5eea4fcb
2021-10-28 20:00:10 +00:00
TreeHugger Robot
d84aaad11f
Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev
2021-10-28 19:51:05 +00:00
Tony Wickham
3c848b0dee
Reapply TaskViewSimulator in onApplyWindowInsets()
...
Test: Long press on bottom of taskbar to stash without moving my finger, ensure underlying app draws all the way behind the stashed handle
Fixes: 204165836
Change-Id: Ia1e138b9c369ac789e862ba760068f90bd64d312
2021-10-28 12:50:58 -07:00
Vinit Nayak
0c05634a16
Clean up RemoteTargetHandles when RecentsAnimation ends
...
* When in SplitScreen in overview, rotation causes
surfaces to get released, so we tell RecentsView
to null out references to them.
* Unclear why this wasn't/isn't neceessary for a
single, fullscreen task.
Fixes: 202780874
Test: Can rotate in split screen, no crash
Change-Id: Ifdfa74943945029edec37dfeeb4187616e4a23d8
2021-10-28 12:21:46 -07:00