Commit Graph

11 Commits

Author SHA1 Message Date
Jeff Sharkey
9af6ac78b0 Merge changes from topic "dec5" am: c2793cf12b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519384

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifdc390f5ae046c515a30158f3f55b831be147547
2020-12-08 16:05:11 +00:00
Jeff Sharkey
52b9862f87 Improve OWNERS coverage across frameworks/base/.
As general background, OWNERS files expedite code reviews by helping
code authors quickly find relevant reviewers, and they also ensure
that stakeholders are involved in code changes in their areas.

Some teams under frameworks/base/ have been using OWNERS files
successfully for many years, and we're ready to expand them to cover
more areas.  Here's the historical coverage statistics for the last
two years of changes before these new OWNERS changes land:

-- 56% of changes are fully covered by OWNERS
-- 17% of changes are partially covered by OWNERS
-- 25% of changes have no OWNERS coverage

Working closely with team leads, we've now identified clear OWNERS on
a per-package basis, and we're using "include" directives whenever
possible to to simplify future maintenance.  With this extensive
effort, we've now improved our coverage as follows:

-- 98% of changes are fully covered by OWNERS
-- 1% of changes are partially covered by OWNERS
-- 1% of changes have no OWNERS coverage

This specific change is automatically generated by a script that
identifies relevant "include" directives.

Bug: 174932174
Test: manual
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
2020-12-08 08:36:28 -07:00
Xin Li
d31ee38811 Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855
Bug: 172690556
Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6
Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-12-02 00:38:58 -08:00
Hongwei Wang
ebaf114818 Add Nataniel as OWNER of WMShellFlickerTests/WMShellUnitTests
Bug: N/A
Test: N/A
Change-Id: Ibddd92a03daf368397a88a2959f301bf53a2bbf4
2020-11-18 10:56:34 -08:00
Mady Mellor
5262ae0110 Remove mrenouf from Shell/OWNERS
Test: none
Bug: none
Change-Id: Ie0489dce898f33c52e8817b27d78a3f5a7aecabc
2020-11-16 08:07:40 -08:00
Mady Mellor
be0403bcfc Add mady to Shell/OWNERS
Bug: none
Test: none
Change-Id: Ib552ee4a77002eeb089091084cc7d1a4c845e142
2020-11-11 10:09:10 -08:00
Andrii Kulian
30f9ba0d2b Move reference WM Sidecar impl to system_ext
Placing the reference implementation in /vendor partition tirggers
UnofficialApisUsageTest failures due to hidden API use in the sample.
Moving it to system_ext should resolve this issue.

Bug: 167214265
Test: com.android.gts.api.UnofficialApisUsageTest#testNonApiReferences
Change-Id: I628fd0e00558208a3af26ecf02b82a3cedad8011
(cherry picked from commit 4ebadc8056)
2020-09-25 23:26:48 +00:00
Diego Vela
b9437ef4f1 Downgrade Window JetPack
Add window sidecar aar.
Add settings implementation of SidecarInterface.

Bug: 157477145
Test: use a device with sidecar and not window extensions.
    atest CtsWindowManagerJetpackTestCases:ExtensionTest
Change-Id: Iade7a4ba5a75ba7301cd151b54a95820a3d4bdde
2020-06-03 15:44:46 -07:00
Chris Li
50df43e354 Update WM Jetpack impl to use WindowMetrics
Before, SettingsExtensionImpl#getWindowLayoutInfo returned empty window
info when Activity was not attached. Now, it returns the correct info
after Activity create.

Test: atest CtsWindowManagerJetpackTestCases:ExtensionTest
Fixes: 152534741
Fixes: 155121604
Fixes: 155692339
Change-Id: Ieded3b70ff14aba03581bf7501cc5e923b5eed33
2020-05-08 18:00:31 -07:00
Andrii Kulian
73b23c9a3e DO NOT MERGE Test sidecar OEM implementation for WM support library
This provides an example implementation of the Sidecar interface
for the Window support library, which allows mocking a foldable
device by reading its current configuration from settings.

This implementation also makes sure that the reported display
features are adjusted to the window position and coordinate space,
as required by the Sidecar interface contract.

The reported values can be updated by using the following shell
commands:
settings put global device_posture <posture>
settings put global display_features <type>-[<sX>,<sY>,<eX>,<eY>]

Bug: 146188055
Test: Manual, see instructions doc
Change-Id: I4764298d7633bc3ef574b5cbc2dee256e9cf3f03
(cherry picked from commit d66f77b0b7)
2020-03-05 13:56:02 -08:00
Andrii Kulian
db4f5466b9 Move WindowManager Shell from packages/ to libs/
Test: Build
Change-Id: I03833b0aff5836cc00b8371907f9059aa1acc5b1
2020-01-21 11:48:19 -08:00