Winson Chung
6cc3a2989e
Merge "Skip adding shell drop target window for virtual displays" into sc-v2-dev am: 91a8c3068b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16267066
Change-Id: I8768ca359202589a54af1bc0ac74f2291cbbe0f1
2021-11-16 17:55:55 +00:00
Winson Chung
91a8c3068b
Merge "Skip adding shell drop target window for virtual displays" into sc-v2-dev
2021-11-16 17:44:05 +00:00
Winson Chung
8c7ef9ef5c
Skip adding shell drop target window for virtual displays
...
- Having content on the virtual display can prevent mirroring from
working correctly
Fixes: 205080647
Test: atest WMShellUnitTests
Change-Id: Id13d8e9020edf5f78c10148f48bd64cec92b7994
2021-11-16 17:43:55 +00:00
Mady Mellor
d9bcdc1b46
Merge "Fix a security issue" into sc-v2-dev am: 509a29f8a0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16265557
Change-Id: I78fbe44a612e1a7ae7234367691b94d3680013e8
2021-11-16 00:43:19 +00:00
Mady Mellor
509a29f8a0
Merge "Fix a security issue" into sc-v2-dev
2021-11-16 00:40:07 +00:00
Mady Mellor
05a043c911
Fix a security issue
...
This broadcast was only for a prototype so no harm to
remove the receiver.
Test: treehugger
Bug: 202756848
Bug: 173386799
Change-Id: Ia496570f4209e4019ecddd9731b6b9c303740f85
2021-11-15 14:34:12 -08:00
TreeHugger Robot
ba64f849cf
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-11-15 17:08:36 +00:00
TreeHugger Robot
985ac93b3a
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-11-15 17:08:28 +00:00
Hongwei Wang
8da6144675
Merge "Update PiP dismiss target on theme change" into sc-v2-dev am: 8923d44570
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16244158
Change-Id: Ie044e269a11e1fa8dcb9a63f9a9c00654f0680d9
2021-11-13 01:02:24 +00:00
Hongwei Wang
8923d44570
Merge "Update PiP dismiss target on theme change" into sc-v2-dev
2021-11-13 00:48:37 +00:00
Winson Chung
969bf4f9c9
Merge "Fix issue with provided options not being applied when launching split tasks" into sc-v2-dev am: b5c5258a65
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16243354
Change-Id: Iabc91498994f4712b7c76594eab7b2fd10251baa
2021-11-12 21:08:27 +00:00
Winson Chung
b5c5258a65
Merge "Fix issue with provided options not being applied when launching split tasks" into sc-v2-dev
2021-11-12 20:51:15 +00:00
Ben Lin
0d431ecbcb
Merge "PiP: Enable enter split." into sc-v2-dev am: b61f021774
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16241620
Change-Id: I1206fe1c37ed17e1599d88a23112cf399ab70a2d
2021-11-12 18:01:58 +00:00
Winson Chung
83119e1bac
Fix issue with provided options not being applied when launching split tasks
...
- Since SysUI/Shell is making the call to start the app pair tasks in a
WCT, we also need to expand the restriction on who can freeze the
list (to any caller with MANAGE_ACTIVITY_TASKS)
Bug: 206000278
Test: Quickswitch from app pair and back
Change-Id: I7f455fde87edfbcb7d856d842710c2a4542d7207
2021-11-12 05:38:10 +00:00
Hongwei Wang
abf3d3b948
Update PiP dismiss target on theme change
...
Re-initiate the DismissCircleView upon theme change to make sure the PiP
dismiss target inherits the right theme color.
Bug: 199359063
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bIMe3fAFoW6Nw47Ye894MZ
Test: manually, see video
Change-Id: Ia65c633fd636114ddbdc2ff497245e2cb73f7745
2021-11-11 16:28:54 -08:00
Ben Lin
6d6a81b5e8
PiP: Enable enter split.
...
Bug: 202740657
Test: Enter PIP, open another app, tap "enter split"
Change-Id: Ifd30489705c8a928aa8e219cb0d88fdd2b932c6d
2021-11-11 14:01:14 -08:00
TreeHugger Robot
26d492568d
Merge "Revert^2 "PiP: support direct entering split from PiP."" into sc-v2-dev am: bcc3f65352
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16231864
Change-Id: I4201a139fbbd4243ad1588dead4fe1967232ef94
2021-11-11 18:10:36 +00:00
TreeHugger Robot
bcc3f65352
Merge "Revert^2 "PiP: support direct entering split from PiP."" into sc-v2-dev
2021-11-11 17:55:21 +00:00
Bill Yi
315af7ea6e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iab7617678b40cfc269fc6a964c6a4332fe693614
2021-11-11 09:17:49 +00:00
Bill Yi
6f7dd6e6a7
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: If51c661d8516717b565cbddcb6464d4f469692bb
2021-11-11 09:09:29 +00:00
Hongwei Wang
5b3d8a3aaf
Revert^2 "PiP: support direct entering split from PiP."
...
a6abf3067b
Change-Id: I1deddacd0ef7ba36b55d38d14718d0be90129866
2021-11-10 21:02:08 +00:00
Sergey Serokurov
2e0c8c8b14
Merge "Fix bubbles behavior in bedtime mode" into sc-v2-dev am: b13cde5c9c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16227228
Change-Id: Ic0eec06f3c02f232cbd6db48f8fcab96dd69070c
2021-11-10 19:17:01 +00:00
Sergey Serokurov
b13cde5c9c
Merge "Fix bubbles behavior in bedtime mode" into sc-v2-dev
2021-11-10 19:08:36 +00:00
Vinit Nayak
f96173d751
Merge "Pass back split bounds and meta info with GroupedTaskInfo" into sc-v2-dev am: b63153fa3b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16135327
Change-Id: I930a6dcfad02d524858017365802befbbf063d2b
2021-11-10 16:46:23 +00:00
Vinit Nayak
b63153fa3b
Merge "Pass back split bounds and meta info with GroupedTaskInfo" into sc-v2-dev
2021-11-10 16:33:49 +00:00
Sergey Serokurov
1516eb0a39
Fix bubbles behavior in bedtime mode
...
Bug: 185083022
Test: atest SystemUITests
Test: screen recording https://drive.google.com/file/d/1jGHUaGoqtJIFcK439ZFBke_TKKdAGbKL/view?usp=sharing
Change-Id: Ida14930e50fb41bc5e2809b2b3127bb581a3bac0
2021-11-09 20:54:57 -08:00
Vinit Nayak
d3370c4082
Pass back split bounds and meta info with GroupedTaskInfo
...
* Compute and save a StagedSplitBounds object for every
pair to determine it's position, size, divider, etc.
* Moved GroupTask to Launcher
* Moved StagedSplitBounds from launcher to wm/shell
because sharing is caring.
Bug: 203006080
Change-Id: I8513e027f8c9606fbed1283013eafea2cf905f3f
2021-11-09 15:14:13 -08:00
Treehugger Robot
69a32ce6db
Merge "Add pablogamito to flicker test owners" am: 08623cc3c4 am: 28b3b44692 am: 01d71f11ea am: 44101df548
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1884853
Change-Id: I397696949ac5da437b5e55cc9538341cd93902b6
2021-11-09 22:02:10 +00:00
Treehugger Robot
44101df548
Merge "Add pablogamito to flicker test owners" am: 08623cc3c4 am: 28b3b44692 am: 01d71f11ea
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1884853
Change-Id: I6b8458c3c0e7af4e4bdff6d08245bbded99adb48
2021-11-09 21:35:28 +00:00
Treehugger Robot
01d71f11ea
Merge "Add pablogamito to flicker test owners" am: 08623cc3c4 am: 28b3b44692
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1884853
Change-Id: I79dacc30fa933ce96c384ba026b46e56b533af2d
2021-11-09 21:16:42 +00:00
Nataniel Borges
b81392c9cd
Add pablogamito to flicker test owners
...
Test: check owners file
Change-Id: If8adecda0d23d6d673825695e57813b281c0f6bc
2021-11-09 19:11:37 +01:00
Hongwei Wang
4a02bacc0a
Merge "Revert "PiP: support direct entering split from PiP."" into sc-v2-dev am: d43748f3cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16216955
Change-Id: I6419720e0ca7bee2ca479127d8097ef05f82ad9b
2021-11-09 18:07:50 +00:00
Hongwei Wang
a6abf3067b
Revert "PiP: support direct entering split from PiP."
...
Revert "Update PiP signatures"
Revert submission 16190721-pip-enter-split
Reason for revert: regression b/205639175
Reverted Changes:
I62d1617c1:Update PiP signatures
I0829c910b:PiP: support direct entering split from PiP.
Change-Id: I52fe160c50747a00e1d30b072ce07e67dae9c6de
2021-11-08 18:52:00 -08:00
Winson Chung
6ce867d9c3
Merge "Update recent tasks split pairs from split controller" into sc-v2-dev am: 8f7d253431
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16091991
Change-Id: I41ae1d5995d77e5fc9c47cec276ee24d717bdd07
2021-11-07 04:37:49 +00:00
Winson Chung
8f7d253431
Merge "Update recent tasks split pairs from split controller" into sc-v2-dev
2021-11-07 04:22:37 +00:00
Ben Lin
61e1c2de16
Merge "PiP: Recalculate size if too big/small on display change." into sc-v2-dev am: 984af19cf9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16177568
Change-Id: I036b34aa7ddf3bfe83ff20cc36956d3c913be2f0
2021-11-06 07:52:26 +00:00
Ben Lin
984af19cf9
Merge "PiP: Recalculate size if too big/small on display change." into sc-v2-dev
2021-11-06 07:39:00 +00:00
Winson Chung
5f4395c53a
Merge "Add split exit reasons" into sc-v2-dev am: a307ec79f5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16196490
Change-Id: Iec240193ce22f3db83c477e2a929c7c486b19895
2021-11-06 04:59:54 +00:00
Winson Chung
6be95d2ffa
Update recent tasks split pairs from split controller
...
- Add pairs for the top visible children when both roots are populated,
and update when either side changes.
- Remove pairs if an activity is finished, or if the user dismisses
split manually
- Remove pairs for associated tasks if they are made visible in fullscreen
Bug: 202740477
Test: atest WMShellUnitTests
Test: adb shell dumpsys activity service SystemUIService WMShell
Change-Id: I87c632dfd1a014d64ad8e25c9e68ea6ca230744e
2021-11-06 04:02:53 +00:00
TreeHugger Robot
fb6687c411
Merge "Use SystemUI theme to inflate FrameLayout and SplashScreenView" into sc-qpr1-dev am: a23a5d4ab0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16170299
Change-Id: Iccac60b1355a38a0bd4f03d592a52750d85b9cfc
2021-11-06 02:38:10 +00:00
Ben Lin
4ef153a797
PiP: Recalculate size if too big/small on display change.
...
On display changes, it is possible that the old bounds is now too big
or too small for the new display. This is especially like on foldables,
such as a min size on a folded state is too big when in an unfolded
state.
Bug: 198679951
Test: Fold, minimal size, then unfold - see size change, and resizing
now doesn't jump to from too small -> small
Change-Id: I5de64860f1fbb476ff1a6a8dd9a0c50fd3259a45
2021-11-05 18:00:24 -07:00
Winson Chung
cef0ca0a9b
Add split exit reasons
...
- These map to logging states, but can be used to distinguish
cases to retain/remove the splits in recents
Bug: 202740477
Test: atest WMShellUnitTests
Test: adb shell dumpsys activity service SystemUIService WMShell
Change-Id: Ie028f6a2cb63beda97482e86e2c60dbf8f81e625
2021-11-05 23:43:30 +00:00
Winson Chung
1861558e12
Merge "Move dagger modules into shell library for reuse" into sc-v2-dev am: 90d2471b4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16195494
Change-Id: Icb3ef10d52313deceeb08bff224cbf8733a107d4
2021-11-05 22:49:32 +00:00
Winson Chung
ca5598dd10
Move dagger modules into shell library for reuse
...
- Certain system ui implementations which use the shell don't depend on
SystemUI-core, which means that the dagger modules for providing the
core Shell components need to be copied (which makes it more cumbersome
to make changes). Instead, move these modules back into the shell lib
for any SysUI app to reference.
Bug: 205019015
Test: make SystemUIGoogle
Test: make CarSystemUI
Test: make ArcSystemUI
Change-Id: I8dc938a7695972f9d7b3d7ea8e3ce65a7b454b13
2021-11-05 12:53:14 -07:00
Ben Lin
f33e359583
Merge "PiP: support direct entering split from PiP." into sc-v2-dev am: 5574121d03
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16119347
Change-Id: Iea8bffc5fa29c3637daf27432c38bba665e8ab04
2021-11-05 17:49:03 +00:00
Ben Lin
5574121d03
Merge "PiP: support direct entering split from PiP." into sc-v2-dev
2021-11-05 17:42:02 +00:00
Tom Natan
1b5d62457c
Merge "Update size compat restart button surface position after display insests changed" into sc-v2-dev am: 6ee7e8b6b3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16174883
Change-Id: Ia082aa3db3d4e846752d018e9d53ed4f96bb1df5
2021-11-05 10:24:32 +00:00
Tom Natan
6ee7e8b6b3
Merge "Update size compat restart button surface position after display insests changed" into sc-v2-dev
2021-11-05 10:07:15 +00:00
Winson Chung
7432714905
Merge "Add exit log for debugging auto dismissing bug" into sc-v2-dev am: 5dbf72509d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16180812
Change-Id: I2e5dffc3da642eefa90d55f9e9621049c0612db7
2021-11-05 04:31:43 +00:00
Winson Chung
5dbf72509d
Merge "Add exit log for debugging auto dismissing bug" into sc-v2-dev
2021-11-05 04:20:27 +00:00