Commit Graph

748941 Commits

Author SHA1 Message Date
TreeHugger Robot
431a79bb11 Merge "Fix fgs_footer gravity" into tm-dev 2022-02-24 01:26:07 +00:00
Mark Renouf
cac9e4e7e3 Merge "Remove SysUI Chooser" into tm-dev 2022-02-24 01:08:35 +00:00
Chris Li
1e9ff8eea6 Merge "Fix SetRequestedOrientationWhilePinnedTest with Shell transition" into tm-dev 2022-02-24 00:59:34 +00:00
TreeHugger Robot
199d49a834 Merge "Add documentation about permission in Nearby streaming policies" into tm-dev 2022-02-24 00:41:03 +00:00
TreeHugger Robot
5f902c6439 Merge "Camera: Allow clients to query for extra profile latency" into tm-dev 2022-02-24 00:27:29 +00:00
Robert Wu
85b0f4f199 Merge "MIDI: don't create two of the same device" into tm-dev 2022-02-24 00:25:28 +00:00
TreeHugger Robot
57da9a6e4f Merge "Make executor @Nullable in createVirtualDisplay" into tm-dev 2022-02-24 00:00:47 +00:00
TreeHugger Robot
bb8c65ed14 [automerger skipped] Merge changes from topic "presubmit-am-5482901e1a9f43f99964b507e3ad4959" into sc-v2-dev-plus-aosp am: 3424369d35 -s ours
am skip reason: Merged-In I9881453ba14cba4f219861ec4449f2baa8058b57 with SHA-1 da737e7149 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16988727

Change-Id: Ia835fac19654640e42250a6ba97b011473516317
2022-02-23 23:22:23 +00:00
Pablo Gamito
328c0a75ce [automerger skipped] [automerged blank] Don't set background color if TDA doesn't have a valid surface 2p: 62f69423c5 am: a094a8146b -s ours
am skip reason: Merged-In I9881453ba14cba4f219861ec4449f2baa8058b57 with SHA-1 da737e7149 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16988727

Change-Id: I859e938f4223e64cb670a6ecaee2475a834885d8
2022-02-23 23:22:04 +00:00
TreeHugger Robot
f656273088 [automerger skipped] Merge changes from topic "presubmit-am-34a8ba0b26b74d1daf2868b91d148909" into sc-v2-dev-plus-aosp am: 84603031f6 -s ours
am skip reason: Merged-In I57fa88c6f45adca9e3301b39e868bd127644b76f with SHA-1 975e9ab45b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16182190

Change-Id: I8117c560b230cae953847dd8ad400e592a8346f3
2022-02-23 23:21:38 +00:00
Presubmit Automerger Backend
933e19e302 [automerger skipped] [automerged blank] Use TDA for background color instead of new color layer 2p: dc4296e335 am: 38bb1b2fcd -s ours
am skip reason: Merged-In I57fa88c6f45adca9e3301b39e868bd127644b76f with SHA-1 975e9ab45b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16182190

Change-Id: I794be621ec1317986971ea26754e104cede049cb
2022-02-23 23:21:19 +00:00
TreeHugger Robot
12dd1d6747 Merge "Cache quickPickupEnabled state" into tm-dev 2022-02-23 22:51:08 +00:00
TreeHugger Robot
3424369d35 Merge changes from topic "presubmit-am-5482901e1a9f43f99964b507e3ad4959" into sc-v2-dev-plus-aosp
* changes:
  [automerged blank] Don't set background color if TDA doesn't have a valid surface 2p: 62f69423c5
  Don't set background color if TDA doesn't have a valid surface
2022-02-23 22:50:27 +00:00
TreeHugger Robot
84603031f6 Merge changes from topic "presubmit-am-34a8ba0b26b74d1daf2868b91d148909" into sc-v2-dev-plus-aosp
* changes:
  [automerged blank] Use TDA for background color instead of new color layer 2p: dc4296e335
  Use TDA for background color instead of new color layer
2022-02-23 22:50:27 +00:00
TreeHugger Robot
22c4239c9d Merge "Revert "Disable per-process app class to investigate"" into tm-dev 2022-02-23 22:49:52 +00:00
TreeHugger Robot
88926406a2 Merge "Map SurfaceFlinger display mode ids to Display.Mode ids" into tm-dev 2022-02-23 22:36:11 +00:00
TreeHugger Robot
676c373409 Merge "Bouncer is never showing in AOD" into tm-dev 2022-02-23 22:35:51 +00:00
Dave Mankoff
4ed3ca29a1 Merge "Add support for SystemProperty flags to SysUI." into tm-dev 2022-02-23 22:20:48 +00:00
Robert Wu
a30d971324 MIDI: don't create two of the same device
Devices got created twice because I forgot to remove a
debugging statement

Bug: 220168245
Test: MidiKeyboard and MidiScope
Change-Id: I2bd7b28bec3025e62dce39fcd500350a9ca6de8d
Merged-In: I2bd7b28bec3025e62dce39fcd500350a9ca6de8d
2022-02-23 22:16:07 +00:00
TreeHugger Robot
7f9d05c6d2 Merge "Change supervisor settings constants to int." into tm-dev 2022-02-23 22:08:11 +00:00
Jorim Jaggi
35efedc9a2 Merge "Get rid of double measure" into tm-dev 2022-02-23 22:00:20 +00:00
Jorim Jaggi
4234e6cea8 Get rid of double measure
We first need to dispatch insets, then we can measure so we don't
need to immediately measure again.

Fixes: 210881360
Bug: 190379081
Test: Presubmit, Boots
Change-Id: Id40a083dd2e122ca71a96213e94b5bbbb45d596d
2022-02-23 21:59:18 +00:00
TreeHugger Robot
d42478e1ca Merge "Listen to battery saver changes." into tm-dev 2022-02-23 21:41:13 +00:00
Julia Reynolds
b0ff7c86df Merge "Add missing userId arg" into tm-dev 2022-02-23 21:34:20 +00:00
Justin McClain
455a973dca Merge "Add vendor_required_attestation_certificates to be used by Attestation Verification Framework and Partner overlay." am: 9e70a83ea0 am: 75b5c61d45 am: 10e148d78a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1965239

Change-Id: I63611cf1ca569ce8abb98dbcbbab9433986dacd3
2022-02-23 20:45:48 +00:00
TreeHugger Robot
e2a47a2c3a Merge "[CDM bug] Fix CDM crash when there's no CDM service" into tm-dev 2022-02-23 20:34:17 +00:00
Fabian Kozynski
1a4e79d6f1 Fix fgs_footer gravity
As it has a marginEnd, it has to be layout_gravity end for FrameLayout
to properly measure and layout

Test: visual
Fixes: 221071029
Change-Id: I07cbcc7bd32992c216825ea8e281b1288d03bfbd
2022-02-23 15:30:43 -05:00
Justin McClain
10e148d78a Merge "Add vendor_required_attestation_certificates to be used by Attestation Verification Framework and Partner overlay." am: 9e70a83ea0 am: 75b5c61d45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1965239

Change-Id: Ie8184942cf5b7516a6595abc44e8f13cb6254389
2022-02-23 20:21:52 +00:00
TreeHugger Robot
f084f35b7a Merge "Fix the bug on APP_CERTIFICATE_LINEAGE rule as we forgot to modify the binary rule parser to support the new rule." into tm-dev 2022-02-23 19:56:44 +00:00
Mateusz Cicheński
429c0a9769 Merge "Moving the resources related to PiP to the WindowManager/Shell." into tm-dev 2022-02-23 19:49:36 +00:00
Justin McClain
75b5c61d45 Merge "Add vendor_required_attestation_certificates to be used by Attestation Verification Framework and Partner overlay." am: 9e70a83ea0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1965239

Change-Id: Ibfcd4cb5a913d6766cf6f4fad5beea4f7eeba22b
2022-02-23 19:45:12 +00:00
TreeHugger Robot
efc2678c50 Merge "Don't lock VibrationStepConductor state only executed by VibrationThread." into tm-dev 2022-02-23 19:20:03 +00:00
Matt Casey
c749c370d4 Remove SysUI Chooser
It's unused and stale. Starting to acquire a bit of a smell.

Bug: N/A
Test: Builds
Change-Id: Ia194833351cdf29bac6461393601af459f3f0436
2022-02-23 19:18:34 +00:00
Justin McClain
9e70a83ea0 Merge "Add vendor_required_attestation_certificates to be used by Attestation Verification Framework and Partner overlay." 2022-02-23 19:18:29 +00:00
Ytai Ben-tsvi
4b5f06df78 Merge "Explicitly close sound model file descriptors" into tm-dev 2022-02-23 19:06:21 +00:00
Yi Kong
0a1eeefb0d Merge "idmap2: Remove more redundant "using" statements" am: ee8e50ac1f am: a872a08411 am: e676492866
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1991775

Change-Id: I2bef74e6be9d76721e6ef5f4e516f7da8dc574ab
2022-02-23 19:05:49 +00:00
Yi Kong
e676492866 Merge "idmap2: Remove more redundant "using" statements" am: ee8e50ac1f am: a872a08411
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1991775

Change-Id: I736f4cec4d88b9cf3a742a916791e48c0956f2cd
2022-02-23 18:44:43 +00:00
TreeHugger Robot
bfdb2defa9 Merge changes I3de63438,I671517b9 into tm-dev
* changes:
  Don't expose vibrator controllers via VibrationThread.
  Move VibrationStepConductor locking out of VibrationThread.
2022-02-23 18:40:42 +00:00
Kweku Adams
56e477eb95 Listen to battery saver changes.
Listen to battery saver changes using the broadcast.

Bug: 158300259
Test: manual
Change-Id: I8785b65e6f9aa2b7bea53f9e81a40c2b9b71c2bd
2022-02-23 18:36:34 +00:00
Joe Bolinger
e8e0b2d8a0 Change supervisor settings constants to int.
Fix: 215434051
Test: ROBOTEST_FILTER=BiometricActionDisabledByAdminControllerTest m RunSettingsLibRoboTests
Change-Id: Iaee74fb93d9b455195fd725e2e30baa6c716bff6
2022-02-23 18:36:30 +00:00
Kweku Adams
872eecc6a7 Merge "Open up getCloudMediaProvider to mainline modules." into tm-dev 2022-02-23 18:28:44 +00:00
Guojing Yuan
c1c451fc3b [CDM bug] Fix CDM crash when there's no CDM service
Move the service connector empty check before adding it to the service
connectors map. So when there's no CDM services, there won't be a value in the map.

Bug: 219784113

Test: manually tested no services case using CDM test app. The app
doesn't crash now.

Change-Id: Ib236d42a43c001c0ea5fa4debf5f832daee811c4
2022-02-23 18:23:59 +00:00
Yi Kong
a872a08411 Merge "idmap2: Remove more redundant "using" statements" am: ee8e50ac1f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1991775

Change-Id: I029e6c4037a86993923a3e204df4fef60a4de2bf
2022-02-23 18:20:44 +00:00
Makoto Onuki
ad558f99b8 Revert "Disable per-process app class to investigate"
Revert "Disable per-process app class to investigate (disabling CTS)"

Revert submission 16804724-disable-per-proc-app

Reason for revert: The revert has reached weekly. Now I'll revert it to see what change it made.
Reverted Changes:
I87f16857b:Disable per-process app class to investigate
I87f16857b:Disable per-process app class to investigate (disa...

Change-Id: Ib84035c7819acc347e0bbba8bfada66300778c63
Test: treehugger
Bug: 185177290
2022-02-23 18:17:45 +00:00
Mady Mellor
ba688138fb Merge changes from topic "floating_dismiss" into tm-dev
* changes:
  Update PIP dismiss to use DismissView
  Update dismiss to new spec
2022-02-23 18:12:07 +00:00
Mady Mellor
014c25967b Merge "Adjustments to expanded view size and position" into tm-dev 2022-02-23 18:11:27 +00:00
Jason Macnak
734c117814 Map SurfaceFlinger display mode ids to Display.Mode ids
Noticed while trying to switch Cuttlefish to HWComposer3
with ag/16624862. By default, Cuttlefish has a single display
with a single config:

`RanchuHwc: config: id: 0 w:720 h:1280 dpi-x:320 dpi-y:320 ...`

In `LocalDeviceDisplay::updateDisplayModesLocked()`, the display
config ids which come from HWComposer via SurfaceFlinger are mapped
to DisplayRecord's Display.Mode's `mModeId` which are globally
unique ids created from the atomic integer
`DisplayAdapter.NEXT_DISPLAY_MODE_ID` (which defaults to 1).

However, the preferred display config id (`mSystemPreferredModeId`)
was not being mapped. This would lead to boot failures such as:

`
AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.anim
AndroidRuntime: java.lang.IllegalStateException: Unable to locate mode 0
`

with ag/16774826 because `mDefaultModeId` was being set to
`mSystemPreferredModeId` which was the unmapped `0` from HWComposer.

(Perhaps the need for this change suggests there should be strongly
typed integers to represent the different id spaces,
`SurfaceFlingerModeId` vs `DisplayAdapaterModeId` or something)

Bug: b/193240715
Test: lunch cf_x86_64_phone-userdebug && cherry-pick ag/16624862 &&
      m && cvd start
Change-Id: I8fc0fca6816e037196f51d256430fad480f3b0ff
(cherry picked from commit 53a296d20f)
2022-02-23 18:07:05 +00:00
Pablo Gamito
a094a8146b [automerged blank] Don't set background color if TDA doesn't have a valid surface 2p: 62f69423c5
Blank merge reason: Change-Id I9881453ba14cba4f219861ec4449f2baa8058b57 with SHA-1 da737e7149 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16988727

Bug: 207667555
Bug: 209936970
Change-Id: I0e178138c6cb64d6fe2ae4f88b3ef6125d8f52d7
Merged-In: I9881453ba14cba4f219861ec4449f2baa8058b57
2022-02-23 18:05:45 +00:00
Presubmit Automerger Backend
38bb1b2fcd [automerged blank] Use TDA for background color instead of new color layer 2p: dc4296e335
Blank merge reason: Change-Id I57fa88c6f45adca9e3301b39e868bd127644b76f with SHA-1 975e9ab45b is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16182190

Bug: 205274345
Bug: 202856837
Bug: 203567491
Bug: 209936970
Change-Id: I1c37d3f66e7927c248d4fe526880dc6dd97ae5e6
Merged-In: I57fa88c6f45adca9e3301b39e868bd127644b76f
2022-02-23 18:05:45 +00:00
Pablo Gamito
62f69423c5 Don't set background color if TDA doesn't have a valid surface
This is something that sometimes occurs in tests since the detaching of the TDA in not necesseraily synchronized with animations

Test: atest CtsWindowManagerDeviceTestCases:MultiDisplaySystemDecorationTests
Bug: 207667555
Bug: 209936970
Merged-In: I9881453ba14cba4f219861ec4449f2baa8058b57
Change-Id: I9881453ba14cba4f219861ec4449f2baa8058b57
(cherry picked from commit e644ff6102)
2022-02-23 19:03:02 +01:00