Commit Graph

14379 Commits

Author SHA1 Message Date
Brian Isganitis
cdfdd444bc Merge "Clean up device profile change listeners for AllApps." into udc-dev 2023-03-31 16:41:54 +00:00
TreeHugger Robot
bc55b29cfe Merge "Fix task bar unstashing and stashing when triggering back gesture using the trackpad" into udc-dev 2023-03-31 15:27:08 +00:00
Winson Chung
b793def6ab Merge "Adding check for recents interface before calling back" into udc-dev 2023-03-31 06:21:50 +00:00
Winson Chung
78486a253d Adding check for recents interface before calling back
- If SysUI crashes, there's a brief period where the interfaces
  are reset before SysUI rebinds to Launcher

Fixes: 276354061
Test: Presubmit
Change-Id: Id1a1a1f41b48b9a7d86c1637cc06b662b5d17914
2023-03-31 06:21:41 +00:00
Riddle Hsu
77a6164f7a Merge "Reduce no-op IPC when swiping up" into udc-dev 2023-03-31 05:11:54 +00:00
Tracy Zhou
f3e9f870bd Fix task bar unstashing and stashing when triggering back gesture using the trackpad
Need to defer starting recents animation. Instead of starting at touch down, will defer to passing initial slop. For the back gesture, launcher gesture nav will cancel the motion events from the input monitor passing the initial slop since it's not detected as a swipe up gesture.

Fixes: 276390218
Test: 3-finger horizontal swipe to go back, and make sure the task bar stay stashed through the transition
Change-Id: I03376c4d9696a9e5679b74e36ec142efa882981b
2023-03-30 21:04:13 -07:00
Jerry Chang
d571e89311 Merge "Fix wrong surface positioning when animating a split pair to home" into udc-dev 2023-03-31 01:12:57 +00:00
Jagrut Desai
3aaae66d37 Merge "Taskbar System Action with Broadcast Receiver." into tm-qpr-dev am: d1d0fb8607 am: 99e6efe6f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22242613

Change-Id: I2cd41ac48e58ac04f4600f6d63b5915fc260c48f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 18:40:46 +00:00
Jon Miranda
258b331c49 Merge "Align taskbar so that it does not overlap with nav buttons." into tm-qpr-dev am: e008411f00 am: eb1bc63ffa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22315699

Change-Id: I41ea7b65f0ffaaa7c2fae79d349763b6841204f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 18:39:44 +00:00
Schneider Victor-tulias
6468ce77b8 Merge "Add the gesture nav tutorial menu page" into tm-qpr-dev am: 1db2fcbd19 am: cafab1d7cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22119029

Change-Id: Id6121e8c572666f182e0b2d0ca250c636236f19f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:28:13 +00:00
Schneider Victor-tulias
f8f602d76c Merge "Fix TwoPanelWorkspaceTests" into tm-qpr-dev am: 90259a6db4 am: d8e5795131
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22185922

Change-Id: Ic5d6ce2a870f19c960baab3af8abfb1faee248f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:16:22 +00:00
Jagrut Desai
99e6efe6f3 Merge "Taskbar System Action with Broadcast Receiver." into tm-qpr-dev am: d1d0fb8607
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22242613

Change-Id: I34aa4182c74483c6dd94adb119bda9a30a8240aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:06:00 +00:00
Jon Miranda
eb1bc63ffa Merge "Align taskbar so that it does not overlap with nav buttons." into tm-qpr-dev am: e008411f00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22315699

Change-Id: I72655d251013fddd9736963cc68e842c58941569
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:05:45 +00:00
Schneider Victor-tulias
cafab1d7cc Merge "Add the gesture nav tutorial menu page" into tm-qpr-dev am: 1db2fcbd19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22119029

Change-Id: Ie1f24b78ea9f49a1089e15331cadc35af0073490
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:47:18 +00:00
Schneider Victor-tulias
d8e5795131 Merge "Fix TwoPanelWorkspaceTests" into tm-qpr-dev am: 90259a6db4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22185922

Change-Id: I916c0e191cb2e335b9e393ea76c34cff39778481
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:47:04 +00:00
Riddle Hsu
b1ca1b777f Reduce no-op IPC when swiping up
In SplitScreenController#onGoingToRecentsLegacy, it also ignores:
if (ENABLE_SHELL_TRANSITIONS) return null;

This avoids a latency from the 2-way IPC before calling
RecentsAnimationListener#onRecentsAnimationStart.

Bug: 275508603
Test: Swipe-up
Change-Id: If1aa847bd92b2a16812a5181b4476d9a35619a76
2023-03-30 15:49:40 +00:00
Arthur Hung
b5c44b60c0 Merge "Handling statusbar color when back navigation (2/2)" into udc-dev 2023-03-30 11:23:03 +00:00
TreeHugger Robot
cba5d7b5c5 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-03-30 08:58:51 +00:00
Jagrut Desai
d1d0fb8607 Merge "Taskbar System Action with Broadcast Receiver." into tm-qpr-dev 2023-03-29 23:26:26 +00:00
Jon Miranda
e008411f00 Merge "Align taskbar so that it does not overlap with nav buttons." into tm-qpr-dev 2023-03-29 23:04:43 +00:00
TreeHugger Robot
2514a15a85 Merge "Don't stash immediately when drag was canceled" into udc-dev 2023-03-29 23:04:38 +00:00
TreeHugger Robot
495c7819ef Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-03-29 22:22:16 +00:00
Sunny Goyal
1fc1cd002f Merge "Revert "Simplifying some page indicator dots attributes so that it can"" into udc-dev 2023-03-29 21:22:10 +00:00
Jon Miranda
156ff34f35 Align taskbar so that it does not overlap with nav buttons.
Fixes: 275510698
Bug: 259712417
Test: View device where taskbar should be start aligned
      Update Display size to make everything bigger
      Observe that taskbar icons never overlap nav buttons
Flag: ENABLE_TRANSIENT_TASKBAR true

Change-Id: I246374518f21c4b92d3e02e5582c929a471d9305
2023-03-29 21:04:03 +00:00
Sunny Goyal
0263a679f2 Revert "Simplifying some page indicator dots attributes so that it can"
This reverts commit a5ead45967.

Reason for revert: b/274169859

Change-Id: Id214694ae4f61cd70796c6f7e932c1fdef82d746
2023-03-29 19:11:03 +00:00
Schneider Victor-tulias
1db2fcbd19 Merge "Add the gesture nav tutorial menu page" into tm-qpr-dev 2023-03-29 18:54:22 +00:00
Brian Isganitis
d17261029a Clean up device profile change listeners for AllApps.
Test: https://b.corp.google.com/issues/260177372#comment1
Bug: 260177372
Change-Id: Ic7417980e8280bf2fcb110e5de74ea2ae59d9b74
2023-03-29 14:18:14 -04:00
Jagrut Desai
d2140ba498 Taskbar System Action with Broadcast Receiver.
Test: Manual
Bug: 265618836
Change-Id: I734402ef277a09cf5e41aa63f8be09375706c17a
2023-03-29 10:37:45 -07:00
Schneider Victor-tulias
90259a6db4 Merge "Fix TwoPanelWorkspaceTests" into tm-qpr-dev 2023-03-29 17:03:59 +00:00
Jerry Chang
7e51edd808 Fix wrong surface positioning when animating a split pair to home
Use the screen based position instead of parent-relative position to
make sure the surface was placing at the expected position while
animation apps to home.

Bug: 273685456
Test: http://recall/-/fLARJNt42LVxc3tt86SneW/c2pLS6FwyEMweiLiWqqzPa
Change-Id: Iea79e6d2b9ab591fe18c5ac7a0d89bb90a461145
2023-03-29 07:21:33 +00:00
Bill Yi
4a7f7025b7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idd3d822debe118ff239dbbcac121170df81769f0
2023-03-28 20:05:36 -07:00
Bill Yi
5f5627ec20 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie923f09baaaa91bce6f664b48a6690b928166b53
2023-03-28 20:05:00 -07:00
Saumya Prakash
c63702b6b4 Merge "Add extra error checking for Home Gesture Tutorial" into tm-qpr-dev am: eed10f31f7 am: 95c9996088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22296252

Change-Id: I7afe22edddb59609ec9bf9ac736f4facf4fe630c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 22:58:57 +00:00
Randy Pfohl
5c588c95b4 Merge "checking if outline provider is null to handle rare NPE" into tm-qpr-dev am: 40f065d1fd am: a402713eb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21995352

Change-Id: I7f20393c364b09d13e2c7027ddf85ac6552e62f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 22:58:47 +00:00
Saumya Prakash
95c9996088 Merge "Add extra error checking for Home Gesture Tutorial" into tm-qpr-dev am: eed10f31f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22296252

Change-Id: I0222aa84ca570dd7aa97880fee3d54877c990660
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 22:45:21 +00:00
Saumya Prakash
eed10f31f7 Merge "Add extra error checking for Home Gesture Tutorial" into tm-qpr-dev 2023-03-28 22:30:56 +00:00
Tony Wickham
c691dcba5a Don't stash immediately when drag was canceled
Instead, keep the taskbar open for the normal timeout.

Test: Drag an app from taskbar and drop back in taskbar, ensure taskbar
stays open until 5 second timeout; Drag an app from taskbar and drop
into split screen, ensure taskbar stashes immediately
Flag: ENABLE_TRANSIENT_TASKBAR true
Fixes: 275019813

Change-Id: I06ca0eccbfe313dbae8f6d96c7c09bb659f6a27b
2023-03-28 22:29:26 +00:00
Randy Pfohl
a402713eb2 Merge "checking if outline provider is null to handle rare NPE" into tm-qpr-dev am: 40f065d1fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21995352

Change-Id: I031594c4dc3fd7e230d41a63939995172f1a2534
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 22:29:22 +00:00
Randy Pfohl
40f065d1fd Merge "checking if outline provider is null to handle rare NPE" into tm-qpr-dev 2023-03-28 22:02:03 +00:00
Jagrut Desai
4f45b24af9 Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev am: 6fcdfb166d am: 857c24a3f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22244591

Change-Id: Id5f8e3634a7560a2b0a453421d6b592515381567
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 23:29:38 +00:00
Jagrut Desai
857c24a3f6 Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev am: 6fcdfb166d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22244591

Change-Id: I7c147e306d91535170485c8cd9c0d0492e8083e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 22:58:21 +00:00
Jagrut Desai
6fcdfb166d Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev 2023-03-27 22:38:54 +00:00
Schneider Victor-tulias
2851be8cba Add the gesture nav tutorial menu page
- Added the gesture tutorial menu page (launched using an intent extra)
- tutorial steps now launch the menu when complete if launched from the menu
- the new default set of tutorial steps is home -> back -> overview. this is to handle the case where an intent is launched that is meant to launch the tutorial menu, but ENABLE_NEW_GESTURE_NAV_TUTORIAL is false

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 274463555
Test: Ran the tutorial and menu on a large screen, foldable and phone
Change-Id: I2eb5f658115be4d5ecb0233a8f09d22efe6ebadc
2023-03-27 14:36:01 -07:00
Schneider Victor-tulias
7cd0ae3f73 Fix TwoPanelWorkspaceTests
- Marking the hotseat long press edu as seen on setup to allow the popup menu to be shown immediately in tests
- Recording onWorkspaceItemLongClick on prediction item long click

Flag: not needed
Fixes: 273239675
Test: TwoPanelWorkspaceTest
Change-Id: I76354fd2e3adde11b2a428374fa9c8855ce2ece9
2023-03-27 14:24:35 -07:00
Randy Pfohl
f96827b331 checking if outline provider is null to handle rare NPE
test: verified that a null value wouldn't cause a crash, and would still show the well being toasts correctly. defaulting a value could cause abnormal behavior so I have created a task to follow up with to figure out why this value is being set to null.

bug: 236918951
Change-Id: I9d4282273cb0bc5b6b095dbd082dd1ef79add0dc
2023-03-27 20:18:46 +00:00
Saumya Prakash
f641813483 Add extra error checking for Home Gesture Tutorial
Add an error message for when a user swipes horizontally from the middle
of the screen.

Fix: 275386244
Test: Manual
Change-Id: If4d0dd412c3d1625da18f9c068e5fd7b281548c5
2023-03-27 19:56:35 +00:00
Shivangi Dubey
a3a8504092 Merge "Transient Taskbar's Background animation" into udc-dev 2023-03-27 11:16:44 +00:00
Arthur Hung
0ecd033999 Handling statusbar color when back navigation (2/2)
Introduce SystemBarCustomizer so BackAnimationController could customize
the status bar color according the background color when back animation
is in progress.

Bug: 259491355
Test: manual
Change-Id: I967ec4555a94b270d91f498639140cb7d81dd266
2023-03-25 09:11:09 +00:00
Jagrut Desai
4661854dd6 Make taskbar accessibility announcement when user is in app only.
Test: Manual
Bug: 265099829
Change-Id: I9d90ed7ae3479cf51b261bba63aedccf515bd2c5
2023-03-24 17:02:58 -07:00
Bryce Lee
55c85ef2f2 Merge "Revert "Do not allow system gestures when dreaming."" into tm-qpr-dev am: 1276443016
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22244586

Change-Id: Id879fd8d97166bb8818e45e49eafc453fd7ab87f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 23:36:43 +00:00