Commit Graph

10210 Commits

Author SHA1 Message Date
Tracy Zhou
d66d114944 Merge "Make enableTaskbarNoRecreate() depend on ENABLE_TASKBAR_PINNING and ENABLE_TASKBAR_NAVBAR_UNIFICATION" into main 2023-11-09 18:47:59 +00:00
Randy Pfohl
583e48d915 Merge "Adding insets to prevent back gesture from triggering status bar" into main 2023-11-09 16:44:05 +00:00
Andreas Agvard
100b77e667 Merge "Translucent apps are kept in Recents while in the foreground" into main 2023-11-09 11:30:29 +00:00
Chris Li
6c2681049c Merge "Update PipContentOverlay usage" into main 2023-11-09 03:41:43 +00:00
randypfohl
640e65888c Adding insets to prevent back gesture from triggering status bar
Flag: NONE

Test: Built locally verified back gesture doesn't trigger status bar

Bug: 279252552

Change-Id: I3ad325b1937b5f26278354bc8cef0c94066eed25
2023-11-08 14:53:15 -08:00
Tracy Zhou
f2d7be1cec Make enableTaskbarNoRecreate() depend on ENABLE_TASKBAR_PINNING and ENABLE_TASKBAR_NAVBAR_UNIFICATION
We want to turn on the flag when either of the dependent features is on

Bug: 299193589
Test: N/A
Change-Id: I7b48ff2be0cf9da3b6bc00d75370fa585ce4140d
2023-11-08 14:52:58 -08:00
Tony Wickham
f57204c0dd Merge "Only run InputConsumerProxy callback for touch event" into main 2023-11-08 18:26:34 +00:00
Tracy Zhou
f6fdcf10c4 Merge "Migrate HIDE_NAVBAR_WINDOW to aconfig and rename is to enable_taskbar_navbar_unification" into main 2023-11-08 18:25:48 +00:00
Andreas Agvard
a71e664a61 Translucent apps are kept in Recents while in the foreground
Translucent apps that are exluded from Recents are not kept in Recents
while they are the foreground. This is to prevent jank while going to
Recents and thus morphing to another app, and to prevent confusion as
going back to an app might end you back into the excluded app experience
in case of an app like Omnient that is "on-top" of another application.

Fix: 305650114
Test: Manual
Flag: LEGACY INVOKE_OMNI_LPH DISABLED
Change-Id: I24d583434ce62c68436e8928cf3a47a5ce73ecaf
2023-11-08 17:04:31 +00:00
Liran Binyamin
4d9157be73 Merge "Adds content description to the overflow bubble." into main 2023-11-08 15:52:58 +00:00
Schneider Victor-tulias
b55971202e Merge "Fix unresponsive swipe up after launching a non-running app from overview" into main 2023-11-08 15:11:22 +00:00
Johannes Gallmann
b503e27ae2 Merge "Catch SecurityException in SystemUIProxy" into main 2023-11-08 10:33:17 +00:00
Riddle Hsu
d5512fa401 Merge "Update current rotation of recents to task transform" into main 2023-11-08 08:11:39 +00:00
Tony Wickham
d1a4ff3a9b Only run InputConsumerProxy callback for touch event
The callback exists to ensure the current running animation ends
immediately on touch down, so that we can handle that touch. It
was never intended to run for other events such as HOVER. Updated
to ensure that's the case and also updated documentation/names.

Fixes: 295984940
Test: Manual with animation duration x5:
  - Swipe up followed by HOVER event, ensure animation still plays
  - Swipe to overview, tap on a tile during transition, ensure
    it animates back up
Flag: NONE
Change-Id: I29039ea10154083dcab2e29a97752b18ae8b9331
2023-11-08 00:54:24 +00:00
Tracy Zhou
6fe69f5a2a Migrate HIDE_NAVBAR_WINDOW to aconfig and rename is to enable_taskbar_navbar_unification
Bug: 309671494
Test: N/A
Change-Id: If35d807c17351146029498a876a055384eff3c2f
2023-11-07 13:51:38 -08:00
Sebastián Franco
5054899552 Merge "Moving some constants in Launcher.java to a separate file for ease of readability" into main 2023-11-07 21:22:11 +00:00
Schneider Victor-tulias
a571affc9d Fix unresponsive swipe up after launching a non-running app from overview
Flag: NONE
Fixes: 308982078
Test: quickly swipe to home after tapping a non-running task from overview
Change-Id: I1fbf669368586af4e5b9319603c6a928969cb494
2023-11-07 21:15:12 +00:00
Sebastian Franco
974cc94839 Moving some constants in Launcher.java to a separate file for ease of readability
Part of  go/launcher_SoR

Flag: N/A
Bug: 306465626
Test: compiling, no-op change
Change-Id: I5ea40acb2ba1ea5840021e297516a511b032a043
2023-11-07 10:12:26 -06:00
Robin Lee
b0ed620d42 Merge "Exit Recents with HOME instead of WCT when locked" into main 2023-11-07 15:07:10 +00:00
Riddle Hsu
5d4127ae43 Update current rotation of recents to task transform
The RemoteTargetHandle are created with default orientation state.
So it also needs to be initialized to apply correct transform.

Bug: 304408369
Bug: 308520924
Test: Enable home rotation. Put device in landscape.
      Launch Settings and press home key. And then launch
      a portrait only app and use recents to switch to Settings.
Change-Id: I489957acdaa76c689aa94dd1e5ad8824b430760c
2023-11-07 18:20:10 +08:00
Johannes Gallmann
9173fa39cf Catch SecurityException in SystemUIProxy
Bug: 305121245
Flag: NONE
Test: presubmit
Change-Id: I6e43d8c55b2fe3089254137213caefd42182fd4a
2023-11-07 10:47:09 +01:00
Winson Chung
fce687e699 Merge "Handle long press directly if recents transition is deferred" into main 2023-11-06 23:55:49 +00:00
Vinit Nayak
b16e4d8e18 Merge "Cleanup logs" into main 2023-11-06 22:16:48 +00:00
Robin Lee
6b558e4aae Exit Recents with HOME instead of WCT when locked
We need to merge the next incoming transition (KEYGUARD_UNOCCLUDING) to
get a smooth transition. Sending a WCT at the end makes merging the
two transitions together difficult because the WCT is missing and may
even generate a third transition afterwards if the end result doesn't
match.

Bug: 293862576
Change-Id: Ifd19f0d445ffe21f3bb068882321a55091377173
2023-11-06 23:08:01 +01:00
Vinit Nayak
cca9148c68 Cleanup logs
Flag: None
Test: None
Fixes: 302551868
Change-Id: I617358b8c9ed3293efacff47ad3b1d7b275d5865
2023-11-06 12:45:56 -08:00
Andreas Agvard
0ddc984353 Merge "NavHandleLongPressInputConsumer now cancels long press detection on intercept." into main 2023-11-06 08:43:28 +00:00
Andy Wickham
402ca3e3e5 Merge "Add animateNavBarLongPress to SystemUiProxy and ANIMATE_LPNH flag" into main 2023-11-04 19:57:39 +00:00
Fengjiang Li
7bfdf5048a Merge "Move android.view.IWindowManager#registerSystemGestureExclusionListener to background thread and inline SystemGestureExclusionListenerCompat in RecentsAnimationDeviceStatet" into main 2023-11-04 06:34:39 +00:00
Treehugger Robot
45d5589336 Merge "Move the "IntFlag:" dump under "DeviceFlag:" section" into main 2023-11-04 00:22:33 +00:00
Priyanka Advani
ebc9a3b5e1 Merge "Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."" into main 2023-11-03 22:10:27 +00:00
Anushree Ganjam
8e2a62e6a9 Move the "IntFlag:" dump under "DeviceFlag:" section
Bug: 309033453
Test: Manual by capturing bug report.
https://screenshot.googleplex.com/5q7fHrxEhC8zZxY.png

Flag: None, adding more print to appear in bug report

Change-Id: I18244d4fcf85fbae0e3f48082606c7d46166c311
2023-11-03 15:00:46 -07:00
Priyanka Advani
9aed56096c Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."
Revert submission 24877128-cherrypick-tapl-transient-swipe-owubvwrsw6i

Reason for revert: Likely culprit for b/309158105

Reverted changes: /q/submissionid:24877128-cherrypick-tapl-transient-swipe-owubvwrsw6i

Change-Id: I8ee560f7e599bcfde09eff53f049309ba25ce77f
2023-11-03 21:31:45 +00:00
Anushree Ganjam
df9d94a97c Merge "Add the IntFlags too in bugreport in dump() method." into main 2023-11-03 20:14:45 +00:00
Tony Wickham
075a67da15 Merge "Change TAPL to swipe to stash taskbar (instead of deprecated long press)" into main 2023-11-03 18:35:54 +00:00
Schneider Victor-tulias
3baa1e0905 Merge "Fix unresponsive swipe up after launching the running app from live tile overview" into main 2023-11-03 15:45:58 +00:00
Andreas Agvard
1fff24df5f NavHandleLongPressInputConsumer now cancels long press detection on intercept.
Before handling a touch event NavHandleLongPressInputConsumer now checks
mDelegate.allowInterceptByParent() to ensure a parent has not intercepted the
touch event.

Flag: LEGACY ENABLE_LONG_PRESS_NAV_HANDLE DISABLED
Bug: 305924072
Test: Manual
Change-Id: I0d7bcceba881a21ad00e56c3e18b4ebde878ee89
2023-11-03 13:29:57 +01:00
Chris Li
cd3064236d Update PipContentOverlay usage
Bug: 306994352
Flag: NONE
Test: m
Change-Id: I0688c83c8a0bc8ff90c90af69537528adb2f792a
2023-11-03 17:16:54 +08:00
Jagrut Desai
2d9f2c1cec Merge "Animate aways Notification Dots for Taskbar Pinning Annimation" into main 2023-11-03 02:02:49 +00:00
Jagrut Desai
61526a7413 Merge "Improvements to TaskbarDividerPopupView" into main 2023-11-03 02:02:28 +00:00
Fengjiang Li
db3d98ae23 Move android.view.IWindowManager#registerSystemGestureExclusionListener to background thread and inline SystemGestureExclusionListenerCompat in RecentsAnimationDeviceStatet
The P99 latency is 30ms, which is very slow. Moving the binder call to BG thread should avoid the jank.

Fix: 299466828
Flag: N/A
Test: test device boot without issue
Change-Id: Ib24584a2608b11f02589d4ea4515a6c91c354351
2023-11-03 10:00:28 +08:00
Anushree Ganjam
7da01ae5a4 Add the IntFlags too in bugreport in dump() method.
Bug: 309033453
Test: Manual
Flag: None, adding more print to appear in bug report
Change-Id: I6fa3ac98820b3ab0c7ef93a6eb4564efae6191d5
2023-11-02 18:26:03 -07:00
Jagrut Desai
47bf322e21 Animate aways Notification Dots for Taskbar Pinning Annimation
Test: Manual
Bug: 308460959
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: Ic16881c05c70ed717dc63131d94ece805c39f6fc
2023-11-02 17:39:37 -07:00
Jagrut Desai
9af2084a56 Improvements to TaskbarDividerPopupView
- Close Animation improvement for popup.
- Popup location changed to  16dp above the taskbar view.
- Support for disabled state when user is in 3-button mode. (design changes to come in separate cl)

Test: Manual
Bug: 265170176
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: I9c91e6eb2b29c85433ba1c3d34505f0519448a6f
2023-11-02 17:24:50 -07:00
Jagrut Desai
29ac20ba6a Merge "Fix TaskbarDividerPopupMenu Switch Style" into main 2023-11-02 22:52:19 +00:00
Winson Chung
9b97217ffb Handle long press directly if recents transition is deferred
- For 3p launchers, the starting of the home activity is deferred until
  the user moves past a slop, in these cases we don't need to worry
  about finishing the recents transition before handling long press
  (since it was never started)

Fixes: 307254136
Test: Enable 3p launcher and invoke omni
Change-Id: I0aed7e7d442e010c38979e3f806f6cf0eb33cfe8
2023-11-02 22:46:23 +00:00
Jagrut Desai
c554d5fa46 Fix TaskbarDividerPopupMenu Switch Style
we recently added support for settings app style switches to Launcher. Use that style for TaskbarDividerPopupMenu Switch

Test: Manual
Bug: 308682758
Flag: LEGACY ENABLE_TASKBAR_PINNING DISABLED
Change-Id: If61a426e4051ebce67601055942667ed93928d15
2023-11-02 14:23:48 -07:00
Jagrut Desai
52c9160b0d Merge "Close Taskbar All Apps when Taskbar Pinning is animating" into main 2023-11-02 21:18:44 +00:00
Winson Chung
706c34f2df Merge "Add logs & dump for SysUI/Shell interfaces" into main 2023-11-02 20:46:16 +00:00
Tony Wickham
17c62edb71 Merge "Fix 3 button mode issues in AllSetActivity" into udc-qpr-dev am: 7738b6e943 am: 0eba94ad73
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/25240828

Change-Id: Id0fde9bc3939be62aaa97714956607cfee6a93f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-02 19:57:26 +00:00
Tony Wickham
0eba94ad73 Merge "Fix 3 button mode issues in AllSetActivity" into udc-qpr-dev am: 7738b6e943
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/25240828

Change-Id: Id88a7d427a8a436c2dc7bac2c7dc882d4b56a0cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-02 19:21:22 +00:00