Commit Graph
74708 Commits
Author SHA1 Message Date
Bill Yi 13d42e03c8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I08c637e0cf765ffd4fdfc94f222a18854458c43e
2024-07-29 18:56:34 -07:00
Treehugger Robot 666fec0c77 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-07-16 17:36:04 +00:00
Bill Yi 25da1d83d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I57ee8549d4e1adfa45d23bdf0721055cf17fb619
2024-07-15 14:42:37 -07:00
Bill Yi 4f8678642b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If32af03d3162501f90d9a829ecf4429df1a8f4dd
2024-07-15 14:41:11 -07:00
Treehugger Robot 34d12a2d6d Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-07-09 19:50:29 +00:00
Treehugger Robot 995791cde7 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-07-09 19:50:29 +00:00
Bill Yi 59d8954a6c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I48edcb7ed90f673ff5e2d7033c93082793d2e6ca
2024-07-08 05:43:45 -07:00
Bill Yi 16a7df47d3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I37a818837b8d38fd86120d968689f4894ec9ecf8
2024-07-08 05:42:48 -07:00
Bill Yi b4896bfd76 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0c78880e169d20898c63ca1e48cefc89c290cc9
2024-07-08 05:42:04 -07:00
Saumya Prakash 443d0600d5 Prevent Taskbar edu dismissal from touching outside of the window.
In an effort to encourage users to look at Taskbar edu more thoroughly,
this change makes it so users have to press the 'Done' button explicitly
to close the taskbar edu window. This change also adds the ability for
it to be dismissed by the back gesture. It only applies to the features
edu, and not other taskbar educations.

Fix: 349612575
Test: Manually run all versions of taskbar edu and ensure that the edu only goes away with back gesture, swipe up or clicking on the DONE button
Flag: EXEMPT bugfix
Change-Id: I9c456b9efddc6de5f292d6a14b1ce9daee7efaa3
Merged-In: I9c456b9efddc6de5f292d6a14b1ce9daee7efaa3
2024-06-28 21:23:09 +00:00
Treehugger Robot dcec00cc4d Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-26 19:22:32 +00:00
Treehugger Robot 2920b04df3 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-26 19:22:32 +00:00
Bill Yi e89fa0c181 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie5ac956793f79eddf06c2ba521d7c3c0ccec183e
2024-06-25 22:59:49 -07:00
Bill Yi 66bc0c0275 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibe27bae1bf90208a3dd81d0d051be5313718a0dc
2024-06-25 22:58:58 -07:00
Bill Yi fb9cb01e12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia0b570ddba1df28cf42ffe7e4615a4847dd47d45
2024-06-25 22:58:14 -07:00
Jordan Silva 497729f781 Fix digital wellbeing banner position in portrait mode
The banner should be aligned to the start of the screen, not the center. This CL fixes DWB position for split tasks when device is unfolded.

Fix: 348200661
Bug: 345789862
Flag: EXEMPT bugfix
Test: Manual. Add a Digital Wellbeing (DWB) timer to 2 apps. Open these two apps in split mode. Unfold the device and go to Overview. The DWB banner should aligned correctly.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3d088e3899cfca516dfa8ae9699691ece2b914d9)
Merged-In: I0544b4a8eb85b00196373c8a4368e680abab222b
Change-Id: I0544b4a8eb85b00196373c8a4368e680abab222b
2024-06-24 09:55:17 +00:00
David Lin 6ec11da650 Merge "Fix flickering issues with divider during split animation" into 24D1-dev 2024-06-19 00:48:33 +00:00
Treehugger Robot c44c004e1b Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-17 18:23:53 +00:00
Bill Yi 4645316a61 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib223b1dc82ae646244e2f471f2e930af61e71686
2024-06-16 23:10:52 -07:00
Bill Yi d06eb8a29d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I560b082a24e4bb9331d45bec4d3352bf225b313e
2024-06-16 23:09:27 -07:00
Jeremy Sim fe9a7f3f38 Fix flickering issues with divider during split animation
This CL makes changes to the "split divider placeholder view", which was intended to cover up the backdrop a little during the split confirm animation. The placeholder view is now larger (fullscreen) and fades in with the animation movement, so there is no longer a period of time when it looks like an awkward rectangle.

New timings and interpolators confirmed with UX. Also renamed some variables and added comments for clarity.

Fixes: 344573331
Test: Manually verified that the visual bug no longer happens on large and small screen, and from desktop and Overview.
Flag: EXEMPT bugfix
Change-Id: I3b37f2b0478035d7a3181ae7c23962fe75a13b2c
Merged-In: I3b37f2b0478035d7a3181ae7c23962fe75a13b2c
(cherry picked from commit 91fb2f2e5e)
2024-06-15 01:13:35 +00:00
Riddle Hsu 2670871505 Send source rect hint to Shell via stopSwipePipToHome
Launcher has calculated it, so shell side can use it directly to
avoid inconsistency.

Bug: 331315278
Test: Assume the target app support auto-pip and it doesn't draw
      under display cutout.
      E.g. LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
      Enter PiP from 90 degrees to home with 0 degrees.
      The left side of pip should not flicker.
Change-Id: Id09efc8a30eeef14a031d9db2ab1e00b6f3034bc
2024-06-14 02:27:57 +00:00
Schneider Victor-tulias ac8e132f2d Exclude home and recents activity types when overriding recents-excluded tasks
These tasks could point to overview itself, causing a very confusing screenshot. By excluding these tasks, we will default to using the task preview

Flag: NONE bug fix
Fixes: 336334715
Test: used circle to search from home, swiped to home, then pressed "select" overview action button. also checked temp logs
Change-Id: I0b0ca50585413b479e4830f06b57b8b5e19670a8
(cherry picked from commit 3eb4efac95)
2024-06-13 17:03:33 +00:00
Treehugger Robot 42ddcb5e14 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-12 17:35:45 +00:00
Bill Yi bb038c1e56 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8e7c673b15469c477edbba5f411be7651397ded1
2024-06-11 18:41:11 -07:00
Bill Yi ffbadc5404 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1750b036138658c8abe54de9bea4f35b56fe230f
2024-06-11 18:39:45 -07:00
Winson Chung 3fa291e1a7 Add max width to the screen instructions view text
- This ensures that the instruction wraps if the text is too long

Fixes: 328577545
Fixes: 345128488
Flag: EXEMPT bugfix
Test: Visual inspection of instructions view in different languages/form
      factors
Change-Id: I73e889372a5c482277b0e4b61fb834304304c0a6
Merged-In: I73e889372a5c482277b0e4b61fb834304304c0a6
(cherry picked from commit 73cf3bc3a1)
2024-06-10 21:08:18 +00:00
Kshitish Vyas f309097aa8 Merge "Ensure starting position rect isn't empty in FloatingTaskView" into 24D1-dev 2024-06-10 18:33:32 +00:00
Kshitish Vyas 91dfdc61b8 Merge "Always report mandatory insets for button nav" into 24D1-dev 2024-06-10 18:32:14 +00:00
Treehugger Robot 9d5049236f Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-07 17:15:18 +00:00
Winson Chung 669b9c5c30 Always report mandatory insets for button nav
Fixes: 340134342
Fixes: 343817842
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Test: Verify mandatory insets vs window bounds in various
      orientations when folded/unfolded
Change-Id: I18d4f5d212d16c62d15d84b4842b3d20c0d8c5ae
Merged-In: I18d4f5d212d16c62d15d84b4842b3d20c0d8c5ae
(cherry picked from commit 762b3b4685)
2024-06-07 05:18:36 +00:00
Vinit Nayak f8efb32379 Ensure starting position rect isn't empty in FloatingTaskView
* on rotation taskbar re-inflates it's hotseat views.
If we're already in split, then FloatingTaskView tries to do calculations
on the view's position in the window, but has a reference to the
old, pre-rotated view which is no longer in any window.
* This sets startingPosition to be an empty rect, which is used to
set LayoutParam values, which are used downstream in update() to calculate
scale, and thus we end up dividing by 0.
* TODO(b/345556328) figure out a better solution than checking for an
empty rect

Fixes: 342606096
Test: Repro steps don't cause crash
Flag: EXEMPT bugfix
Change-Id: Icb546a05d383d1997a92471fc1de3ffc37d06eca
Merged-In: Icb546a05d383d1997a92471fc1de3ffc37d06eca
(cherry picked from commit 410681a955)
2024-06-07 03:24:37 +00:00
Bill Yi 8a174558c2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15ce34d1823617c0912bfdae1feb6185483db2f1
2024-06-06 14:21:58 -07:00
Bill Yi ecd70fc3c5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a743d129b6d2801fa660224e8e881068e267346
2024-06-06 14:20:32 -07:00
Bill Yi b748c8e6ee Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7d47742f878876e358fec1130708bae36149f801
2024-06-03 18:20:44 -07:00
Treehugger Robot 85e9c6f1a2 Merge "Cancel manual animation if LauncherState changes during drag." into 24D1-dev 2024-05-31 19:27:25 +00:00
Priyanka Advani 8ec05c628b Merge "Revert "Always report mandatory insets for button nav"" into 24D1-dev 2024-05-30 18:50:44 +00:00
Chaitanya Cheemala 1773b06050 Revert "Always report mandatory insets for button nav"
This reverts commit 4304a14206.

Reason for revert: Likely culprit for b/343564388  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Ibc6fae27f31bcb54406da013babc76b2d5fc7f10
2024-05-30 11:44:57 +00:00
Winson Chung 6de4b5286a Merge "Always report mandatory insets for button nav" into 24D1-dev 2024-05-29 22:56:05 +00:00
Vinit Nayak c5d3fcb655 Merge "Address jank and memory issues with OverviewActionsView" into 24D1-dev 2024-05-29 20:23:44 +00:00
Jeremy Sim 1abc4761cc Address jank and memory issues with OverviewActionsView
Attempt to improve jank and memory regressions by simplifying the view layout of OverviewActionsView.

Bug: 339688091
Bug: 339853741
Test: testSaveAppPairMenuItemOrActionExistsOnSplitPair()
Flag: EXEMPT bugfix
Change-Id: Ib4a7c5a813b221c0a083144e7fb1e1c5f3fedb1c
2024-05-29 18:15:32 +00:00
Winson Chung 4304a14206 Always report mandatory insets for button nav
Fixes: 340134342
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Change-Id: Iee9d5ca9f12ff63f856e7aa94227e5b8273e02a4
2024-05-29 06:39:57 +00:00
Bill Yi 6dc980e09e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9dbd0e2b4accbdcdf7c44d12022a3d5af717f9e3
2024-05-28 21:10:44 -07:00
Vinit Nayak b34cc291d0 Merge "Return false for isSplitSelectionActive() if controller not initialized" into 24D1-dev 2024-05-28 20:39:58 +00:00
Vinit Nayak 364d784242 Merge "Disable gestures when split apps are animating in from shell" into 24D1-dev 2024-05-28 20:21:53 +00:00
Vinit Nayak f9b81f24a4 Return false for isSplitSelectionActive() if controller not initialized
Test: unable to repro
Fixes: 342716244
Flag: EXEMPT bugfix
Change-Id: I9d7d54d5f7571286778c0e82ef4082f9b5843c1d
(cherry picked from commit b449116345)
Merged-In: I9d7d54d5f7571286778c0e82ef4082f9b5843c1d
2024-05-28 20:19:46 +00:00
Bill Yi 704883eafa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I523a0d159594ad847c7c6bcbcbc295755e5c8f73
2024-05-27 20:48:12 -07:00
Winson Chung 6e71bffae7 Merge "Report gesture height for mandatory system gestures" into 24D1-dev 2024-05-24 16:39:11 +00:00
Winson Chung 21bb36fa66 Report gesture height for mandatory system gestures
- We are currently reporting the content insets for the mandatory system
  gestures in taskbar, but for button nav we should actually be
  reporting zero, and for gesture nav we should either report the
  content height if the taskbar is pinned, or the gesture height
  otherwise as the bottom mandatory gesture inset

Fixes: 340134342
Test: atest android.systemui.cts.WindowInsetsBehaviorTests
Change-Id: Ie4d56b62c903c273db95c19c9d34fcfe6c9ce486
Merged-In: Ie4d56b62c903c273db95c19c9d34fcfe6c9ce486
(cherry picked from commit 05682a059f)
2024-05-24 07:15:17 +00:00
Bill Yi b9487c16ce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I621e54f11fe617f515d5a68af4dc0555c4f12236
2024-05-23 20:52:20 -07:00