Commit Graph

20478 Commits

Author SHA1 Message Date
Sunny Goyal ab2f808196 Using a runtime generated layout for tests instead of defining xml
This allows support for easily setting up default layouts

Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: I1c089d60ac3f8add8d7e1060d343e04d30afe094
2023-04-12 22:54:14 +00:00
Sunny Goyal eb27546cc3 Removing remaining code around ENABLE_DATABASE_RESTORE
ENABLE_DATABASE_RESTORE feature is already removed
Also migrating some tests from BackupRestoreTest to RestoreDbTaskTest

Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I71822bbc2232008b3d2b4b9fbed0db5d889591e4
2023-04-12 15:52:35 -07:00
Stefan Andonian 85f1024f44 Make all debug feature flags boot aware.
Bug: 276090194
Test: FeatureFlags worked on device.
Change-Id: I710801d63e6f4283bf15daea2b5be5874de21cc8
2023-04-12 21:02:13 +00:00
Jon Miranda c9a4c1ceae Revert "Allow user gesture to take priority over taskbar translation reset animnatiuon."
This reverts commit 41b580bc63.

Bug: 277942460
Test: tablet/foldable device
      check taskbar animation b/w states and during drag
Change-Id: Ib8b362102d08d155d3153b652db47364feb5df0a
2023-04-12 13:31:41 -07:00
Presubmit Automerger Backend 8fa4d62079 [automerge] Revert "Fix bug where taskbar is translated during hotseat handoff." 2p: fa8cc97e5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22598537

Bug: 277942460
Change-Id: Ic7f1dc9e7c76e0028dd7d85729882bc277e5b50a
2023-04-12 20:29:15 +00:00
Jon Miranda fa8cc97e5f Revert "Fix bug where taskbar is translated during hotseat handoff."
This reverts commit ecb55ef471.

Bug: 277942460
Test: tablet/foldable device
      check taskbar animation b/w states and during drag

Change-Id: I48e37d58afa6e168a683e1b9c73ae15432920030
2023-04-12 13:24:19 -07:00
Winson Chung b24efa4494 Cancel recents animation to app when new task is launched while gesturing
- A bit of a degenerate case, but if a new task is received while
  the user is swiping up (but not yet released), none of the usual
  signals will finish the recents animation (it's not considered
  being in overview so we don't launch it, it's not a quickswitch
  since we haven't launched any new tasks ourselves).  As a result,
  nothing happens (we don't finish the animation, and the new task
  is never shown to the user as a result).

Bug: 271188120
Test: Start a gesture, in parallel run:
      adb shell am start -n com.android.settings/.Settings

Change-Id: I5215ee87f761c837db9f764bd5d8135e55fa0a21
2023-04-12 19:06:13 +00:00
Saumya Prakash 87e11d6530 Merge "Add gesture navigation education animations for foldables" into udc-dev am: 95b6f8c409
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22560003

Change-Id: I4f64b04c843cc7df0f031f27f2dcb8025b5cdf99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 19:03:47 +00:00
Saumya Prakash 95b6f8c409 Merge "Add gesture navigation education animations for foldables" into udc-dev 2023-04-12 18:22:28 +00:00
Brian Isganitis 44935cf678 Update notification dots in Taskbar All Apps.
AllAppsStore already has the business logic for this, we just were not
piping along to it.

Test: Dismiss notification from tray while All Apps is open, and dot
should go away in All Apps.
Fix: 277925243

Change-Id: I29c5723fd77d22f683f5518bd6e2e3206ddee999
2023-04-12 14:00:54 -04:00
Tony Huang 897cf6010a Send divider change to launcher to animate
Add divider to recent animation as a reomote animation target for
launcher animation which follow legacy behavior.

Bug: 245472831
Test: manual
Test: pass existing tests
Change-Id: I8ce262a43624b683324c329ec3c86f692268c39f
2023-04-12 18:46:09 +08:00
Tony Huang 6d823963c6 Merge "[Re-land] Implement two intents or shortcuts to active split" into udc-dev am: 433d215c88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22545656

Change-Id: I94a1b3311af483ad5f40a31c9a176b6295130e19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 05:37:34 +00:00
Tracy Zhou 8353a381c6 Support 3-finger swipe down on the home screen to pull down notifications
Fixes: 276605497
Test: 3-finger swipe down to pull down notifications. 3-finger swipe up to pull up overview
Change-Id: I4c1e0df15a94905fa197849f5667a5446c259ffe
2023-04-11 20:20:41 -07:00
Saumya Prakash 5547d3b99d Add gesture navigation education animations for foldables
This change adds in additional Lottie animations for foldable devices
for the redesigned gesture navigation tutorial.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 253520701
Test: Went through the gesture navigation tutorial on foldables and verified animations show up correctly.
Change-Id: I88b9094dcc0074f70670402870944db0fa57ebbe
2023-04-11 18:10:41 +00:00
Bill Yi 733358b46a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieaadb13b2a7b55d24f9fd8610b833793cf8cf58f
2023-04-10 23:15:19 -07:00
Tony Huang 433d215c88 Merge "[Re-land] Implement two intents or shortcuts to active split" into udc-dev 2023-04-11 05:43:14 +00:00
Sihua Ma c98acd422d Merge "Attempt to fix concurrent modification issue in QuickstepWidgetHolder" into udc-dev am: 4c233bd645
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22391715

Change-Id: Id880580f7b749f597d59a2e13d821ed0986eb4aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 03:29:13 +00:00
Sihua Ma 4c233bd645 Merge "Attempt to fix concurrent modification issue in QuickstepWidgetHolder" into udc-dev 2023-04-11 02:14:22 +00:00
Jon Miranda e4813cd7dc Fix bug where taskbar is translated during hotseat handoff. am: ecb55ef471 am: 0400e2ba46 am: c88f04c83d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531977

Change-Id: I31f2c1fa25578b5f9e3245b1cf44749659081c86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 00:07:33 +00:00
TreeHugger Robot 9922479f74 Merge "Do not clear the changed view when there is an update to RemoteViews" into udc-dev am: b7254fd92b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22495529

Change-Id: I58a2dd30fa3026b13ad4625003d4f22c7247e568
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 00:07:00 +00:00
Jon Miranda c88f04c83d Fix bug where taskbar is translated during hotseat handoff. am: ecb55ef471 am: 0400e2ba46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531977

Change-Id: I3d67bdb37964935e565c10fba06c5c172b3575ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 23:49:39 +00:00
TreeHugger Robot b7254fd92b Merge "Do not clear the changed view when there is an update to RemoteViews" into udc-dev 2023-04-10 23:42:08 +00:00
Jon Miranda 0400e2ba46 Fix bug where taskbar is translated during hotseat handoff. am: ecb55ef471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531977

Change-Id: If9624d1b602edd615e19ae135e963723537ce574
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 23:19:59 +00:00
Sihua Ma 6090c345a1 Do not clear the changed view when there is an update to RemoteViews
The way we are stashing the pending updates should follow the behavior pattern as that shown in AppWidgetServiceImpl

Fix: 277120633
Test: Manual
Change-Id: I92b3edb078b30873c2ef1b9fe408cbb76a34e135
2023-04-10 13:45:25 -07:00
Brian Isganitis 8961eb6051 Merge "Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet." into udc-dev am: f6bf07a5fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22426080

Change-Id: I4440cfb58f9d50cadf4499910344c58ce268b400
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 19:36:34 +00:00
Brian Isganitis f6bf07a5fe Merge "Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet." into udc-dev 2023-04-10 19:17:47 +00:00
Stefan Andonian 2d7455685c Merge "Load Delegate Items in correct order when loading Launcher Data." into udc-dev am: eac832aedd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22389990

Change-Id: I2a96b6b2de62010eab078a64516c998da82fefd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 19:06:58 +00:00
Stefan Andonian eac832aedd Merge "Load Delegate Items in correct order when loading Launcher Data." into udc-dev 2023-04-10 18:26:25 +00:00
Brian Isganitis 3ef917a4e3 Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet.
Test: Manual
Fix: 270396268
Change-Id: I3cebdb6646060cf6793e5ffc638213dde41338c0
2023-04-10 12:55:18 -04:00
Stefan Andonian e4609a27bd Load Delegate Items in correct order when loading Launcher Data.
Bug: 251502424
Test: Loaded and bound the workspace properly.
Change-Id: Ia6d609ffa21c5036cb48e464d3e8d4fa561cb008
2023-04-10 15:46:12 +00:00
Tony Huang 26b426aa89 [Re-land] Implement two intents or shortcuts to active split
Implement two intents or shortcuts to active split with shell
transition.

Fix: 259368992
Test: manual
Test: pass existing tests
Change-Id: If65ddbe6486a8bb1766019c6e05ac2cc5cbe08fc
2023-04-10 13:04:30 +08:00
Sunny Goyal 69beac073b Removing some obsolete features:ENABLE_MINIMAL_DEVICE, ENABLE_DATABASE_RESTORE am: 895392e923
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531971

Change-Id: Ie9eef636e3e3649e0ed4fed9831dad1e8fa5df3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 23:38:37 +00:00
Schneider Victor-tulias 4278ccabdc Cleanup ENABLE_GESTURE_ERROR_DETECTION am: 6fca4b795b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22496951

Change-Id: Ia242e770d283f779af492b68120326d597548122
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 21:10:10 +00:00
Sunny Goyal 895392e923 Removing some obsolete features:ENABLE_MINIMAL_DEVICE, ENABLE_DATABASE_RESTORE
Bug: 270392984
Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I58c3e76de521e702fb44ccfc14c9b5a731b1d511
2023-04-07 13:59:08 -07:00
Schneider Victor-tulias e5c7d7dcd2 Polish the keyboard quick switch view and border animation colors
Flag: ENABLE_KEYBOARD_QUICK_SWITCH
Bug: 276336349
Test: keyboard quick switched on tablet and handheld
Change-Id: I2c21737db3fc4c332ffef9098e8d05d998cf3c39
2023-04-07 13:29:32 -07:00
Jon Miranda ecb55ef471 Fix bug where taskbar is translated during hotseat handoff.
Fixes: 277271088
Test: be in app
      swipe up from bottom to top of screen without pausing then release
      observe taskbar -> hotseat handoff
      observe no jump

Change-Id: I2bb9d93d39215ca3653e2e4353391b50b7ab6417
2023-04-07 11:44:33 -07:00
Schneider Victor-tulias 6fca4b795b Cleanup ENABLE_GESTURE_ERROR_DETECTION
Flag: ENABLE_GESTURE_ERROR_DETECTION
Fixes: 270389990
Test: printed gesture nav logs
Change-Id: I68317b75b10d46ccae29206d94290e013b2a7cca
2023-04-07 17:14:59 +00:00
Tracy Zhou b31662d637 Merge "Log motion event classification and pointer count in ActiveGestureLog" into udc-dev am: c2bdd997c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22466778

Change-Id: I07790040a53739f39a6d611e13dd92c3c3e81885
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 06:40:31 +00:00
Tracy Zhou c2bdd997c0 Merge "Log motion event classification and pointer count in ActiveGestureLog" into udc-dev 2023-04-07 06:11:12 +00:00
Sunny Goyal 2ff71f611e Merge "Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""" into udc-dev am: 7b74a5c53f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22517892

Change-Id: Ib9d5d56a3653907266a375cee63a7d000e3a149a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-07 01:34:41 +00:00
Sunny Goyal 7b74a5c53f Merge "Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""" into udc-dev 2023-04-07 01:02:09 +00:00
Tracy Zhou d8e3a96c5e Log motion event classification and pointer count in ActiveGestureLog
Fixes: 276959586
Test: N/A
Change-Id: Ia040a0bd50471b1f4cb6ba85d6b013c36548ed5f
2023-04-06 17:06:04 -07:00
Tracy Zhou 282aaf7ba2 Merge "Log the input type for gesture nav gestures" into udc-dev am: 47d4769357
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22348244

Change-Id: I7d3c0518fa9e31b43c4ccf44009c3eba3c4aae55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 23:50:37 +00:00
Tracy Zhou 47d4769357 Merge "Log the input type for gesture nav gestures" into udc-dev 2023-04-06 23:33:51 +00:00
Treehugger Robot b73095af69 Merge "Close system dialogs on Taskbar home button tap" into tm-qpr-dev am: 199b08efc8 am: 549615f627 am: 5f41d0d759
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22513962

Change-Id: Ie39a59cd71a9180dd45c473b7e93ba76272c49b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 23:23:32 +00:00
Treehugger Robot 5f41d0d759 Merge "Close system dialogs on Taskbar home button tap" into tm-qpr-dev am: 199b08efc8 am: 549615f627
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22513962

Change-Id: Id05c00f0fe5932727d935ae1b4c28e3aff5a45eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:50:38 +00:00
Sunny Goyal 5cd1b198b0 Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""
This reverts commit 7025765c72.

Reason for revert: 274169859

Change-Id: I86a114bf2c713fea6ec7095f68816820ba5f7495
2023-04-06 22:33:11 +00:00
Treehugger Robot eb3b7d0dd1 Merge "Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING" into udc-dev am: 4c61c48dd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22496954

Change-Id: I22bc4b9b2053baadcc596e7f2a4d44577371b59e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:10:55 +00:00
Winson Chung 8bf8e01550 Merge "Always provide mandatory bottom gesture insets" into tm-qpr-dev am: 4b5b50be80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22511939

Change-Id: I53cbb4a63c0cea6fcb12ce4ee82522e599ad5b9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:10:05 +00:00
Treehugger Robot 549615f627 Merge "Close system dialogs on Taskbar home button tap" into tm-qpr-dev am: 199b08efc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22513962

Change-Id: Ie7f9d86590630d12d4ce61c6109f8bdc1bab51cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:09:16 +00:00