- Jun 07, 2024
-
-
Iván Budnik authored
Also, simplify logic for launching output switcher. Bug: 344843445 Test: atest CtsMediaBetterTogetherTestCases Flag: EXEMPT Minimal logic addition with no usages. Change-Id: Ibd7d7ecbecb7356fb486f94c3a7a94d1a9946881
-
- Jun 04, 2024
-
-
Jean-Michel Trivi authored
When checking the MIME type for the default ringtone, also allow it to refer to video content. Bug: 205837340 Test: see POC + atest android.media.audio.cts.RingtoneManagerTest Change-Id: Id9b81e2db8314bc16df77d0a9221ce93143a8012
-
- May 30, 2024
-
-
Vlad Popa authored
Sending the normal computed index to the AudioPolicyManager together with the devices which are operating in absolute volume mode. The APM is responsible for avoiding the double attenuation based on this information. Flag: com.android.media.audio.abs_volume_index_fix Test: logs manual - DEBUG_VOL = true Bug: 340693050 Change-Id: I9435723b0bc100f74553ff87c1407355117194b6
-
- May 29, 2024
-
-
Iván Budnik authored
This should address some frequently asked questions. Bug: 321173822 Test: N/A. Flag: DOCS_ONLY Change-Id: Id69a0ee575c8d0a29ed0e2d9e0064da1ac42a6de
-
Iván Budnik authored
As per go/android-api-guidelines#framework-rethrow-remoteexception, we should strongly rethrow any RemoteException coming from system_server. Bug: 205124386 Test: Presubmit. Flag: EXEMPT bugfix: Low risk change to improve behavior in an already crashing system. Change-Id: I1f8b3f3e201d7d2f41bb9e1ae5dd3969896b5bd7
-
- May 28, 2024
-
-
Santiago Seifert authored
Bug: b/341345832 Change-Id: I277df8f43d83a3c74b6709075abc9a03293f927d Flag: EXEMPT DOCS_ONLY Test: n/a
-
dakinola authored
Found an issue with screen recording, where if you open an app to be recorded, but close the initial activity before recording starts, the recording fails because we expect to identify the task to the record by looking for an activity with matching launch cookie. As a backup, we also supply the task id (when possible) into the projection and try to find the opened task that way. Fix: 333779790 Flag: None Test: manual testing by attempting to screenrecord Google Photos while on the trash acvitity, then navigating back to the home activity before recording starts Test: atest FrameworksCoreTests:ContentRecordingSessionTest Test: atest FrameworksServicesTests:MediaProjectionManagerServiceTest Test: atest WmTests:WindowManagerServiceTests Test: atest RecordingServiceTest Change-Id: Ied4c8f117ce39288971d293dbcafa022711bf26a
-
- May 27, 2024
-
-
Santiago Seifert authored
Bug: b/340874436 Test: presubmit Flag: EXEMPT bugfix Change-Id: I854317289d65f3c4a64d3fcd1f17c81017f0a8ec
-
Santiago Seifert authored
Bug: b/340874436 Flag: EXEMPT DOCS_ONLY Test: presubmit Change-Id: I803587d46b1cf57570716fa05b6d6eef07ef5a65
-
Santiago Seifert authored
Bug: b/340874436 Flag: EXEMPT DOCS_ONLY Test: presubmit Change-Id: Iaba879e2e26b035db3799850c5a6d6cbfb1e42fc
-
- May 25, 2024
-
-
Jean-Michel Trivi authored
Implement Object.hashCode() method. Allow AudioVolumeGroup.getAudioVolumeGroups() to be called by holders of MODIFY_AUDIO_SETTINGS_PRIVILEGED, like the other volume group APIs. Bug: 340879593 Test: atest AudioManagerTest#testVolumeGroupHashCode Change-Id: Ie4898d013eef9352bb5b9fa7ce7e09fca095356e
-
- May 22, 2024
-
-
Iván Budnik authored
This is a non-functional change. Test: Presubmit. Bug: 205124386 Flag: EXEMPT refactor Change-Id: I6ae8863463fec0c27959dca0c042f5dadffc8bfa
-
- May 21, 2024
-
-
Vlad Popa authored
Flag: android.media.audio.loudness_configurator_api Test: trivial Bug: 341137473 Change-Id: I0977cdf67fc75204f57cb32f172fa1d9916b8aa3
-
- May 20, 2024
-
-
Santiago Seifert authored
Removes some unnecessary code and also fixes what seems to be buggy behavior. For example, we are overwriting the initiator package name if the user handle is not provided. Bug: b/279555229 Flag: EXEMPT refactor Test: presubmit Change-Id: Ib8eb09d5c22ea251a3a3e043eec889df33f2f789
-
Iván Budnik authored
The callback has always returned a @NonNull value, but was never marked as such. This change also makes nullability of the MediaController's PlaybackInfo consistent with ag/27085155. Also, simplify downstream nullability for implementers of onAudioInfoChanged. Flag: EXEMPT non-functional refactor Test: Presubmit. Bug: 333564788 Change-Id: I9d4799d77158742c13f04de1cec9a3d4dd997fcf
-
Santiago Seifert authored
This CL reuses code in MR2Info to provide a human readable string for volume adjustment in MR2 info, and in the toString implementations of both MR2Info and RoutingSessionInfo. Test: mp core services && adb shell dumpsys media_router Bug: 205124386 Flag: NONE Minor changes in debug-related logging. Change-Id: Id3194d3c7f6eded5c37e2d64b43989de80ed1765
-
Vania Desmonda authored
Handler if it's null in `registerCallback()` Test: refactoring CL only, all tests should pass Bug: 293436997 Change-Id: I2a0d4735c3324a7c2e8ae9ef432350613562148f
-
- May 14, 2024
-
-
Wenhao Shi authored
Test: no need Bug: 320419200 Change-Id: I6c894080bf476fb21773e2a44ef1f67ca37e4347 (cherry picked from commit ab53ed39)
-
- May 09, 2024
-
-
Santiago Seifert authored
Also remove redundant transfer method that takes initiation data as parameters. The initiator should always be the target package of the router. Bug: b/319645714 Flag: com.android.media.flags.enable_built_in_speaker_route_suitability_statuses Test: Using the media routing sample app. Test: atest SystemMediaRouter2Test Change-Id: I8ce16d8380b5e6ee04cbcbc6cf57a418595f2cc1
-
- May 07, 2024
-
-
Santiago Seifert authored
Before this check, the transfer is checking for the existence of the target route in the list of selected routes twice. This change is preliminary work for allowing the selection of the selected system route for populating the transfer reason. Test: Non-functional refactor. Flag: EXEMPT refactor Bug: b/319645714 Change-Id: I36a87790df3ffc2be2ab0f1eafee6b3096e7d4a0
-
- May 03, 2024
-
-
Oriol Prieto Gasco authored
Set the container field of aconfig flags Test: printflags --format='{package}:{container}:' | grep "::" Bug: 312769710 Flag: NONE Change-Id: I84fda0d5e9813940609436d825738ff786908ff0
-
- May 02, 2024
-
-
Jayant Chowdhary authored
Test: N/A Change-Id: Ia2bf5aee600c17d77da08240a81036b7cd82471f Signed-off-by:
Jayant Chowdhary <jchowdhary@google.com>
-
- May 01, 2024
-
-
Jayant Chowdhary authored
CameraManager can specify a rotation override value (obtained through other framework components in certain scenarios) which can help clients get rotated feeds from the camera even in cases where the sensor isn't overriden to be portrait - for example: it could already be a portrait sensor and in some device mode decided by the WindowManager clients may want rotated sensor feeds. Bug: 331307771 Test: Desktop compat mode on large screen device Change-Id: Ie739d47f693d9a2a9f3d958f0b9a53e7bd003490 Signed-off-by:
Jayant Chowdhary <jchowdhary@google.com>
-
Eric Laurent authored
Revert submission 25286114-anon_bt_address_sc_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25286114-anon_bt_address_sc_dev Change-Id: I808f111cbc0c493edde92906e7b7700b48b05c5f Merged-In: I97a97fea0952227a9663e7001c9f031fb3cc725e
-
Eric Laurent authored
Revert submission 25286114-anon_bt_address_sc_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25286114-anon_bt_address_sc_dev Change-Id: Icd29d064dda03923637b362bb62eeaf2eeebcec2 Merged-In: I016a65db2e2f9a60a80bd63aebf5f6267e31f88b
-
- Apr 30, 2024
-
-
Eric Laurent authored
Revert submission 25285859-anon_bt_address_sc_qpr1_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25285859-anon_bt_address_sc_qpr1_dev Change-Id: I97a97fea0952227a9663e7001c9f031fb3cc725e Merged-In: I1b751ee48f47e6394d07c9f15de411857428c9f1
-
Eric Laurent authored
Revert submission 25285859-anon_bt_address_sc_qpr1_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25285859-anon_bt_address_sc_qpr1_dev Change-Id: I016a65db2e2f9a60a80bd63aebf5f6267e31f88b Merged-In: Ie8e5f24aee8b09ac241f2b88052f957461be32ce
-
Eric Laurent authored
Revert submission 25240035-anon_bt_address_tm_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25240035-anon_bt_address_tm_dev Change-Id: Id8d5a869c2bf1180bdec0d2576191b976258a055 Merged-In: I4fb250f853f10d3e5e2f5a916b12d2a9ee08ac31
-
Eric Laurent authored
Revert submission 25240035-anon_bt_address_tm_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25240035-anon_bt_address_tm_dev Change-Id: I7bbdc1525c18b1135bd282f099c89e4ca254ab42 Merged-In: I2e1b47b3164b2d596bd13d43982bceb7182a00b3
-
- Apr 29, 2024
-
-
Ted Bauer authored
Aconfig flagging storage is migrating to a new underlying storage, which has new dependencies. Add the dependencies as a defaults. Bug: 328444881 Test: m Change-Id: Ie59f5cba1ace7bbee179f9c6dbee03e085c7d878
-
- Apr 26, 2024
-
-
Santiago Seifert authored
Bug: b/319645714 Change-Id: I4db1f31f0ed19ceb2982f5b7e83f2cc705def777 Flag: DOCS_ONLY Test: N/A. Annotation change.
-
Eric Laurent authored
Revert submission 25188138-anon_bt_address_udc_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25188138-anon_bt_address_udc_dev Change-Id: I76e24a7e981c01e71464db1ce65b1f32ffb08fbc Merged-In: Icd435c99c8a4f2d1e6053f35cd509b3f8f34ae24
-
Eric Laurent authored
Revert submission 25189037-anon_bt_address_udc_qpr_dev Reason for revert: b/329515274 Reverted changes: /q/submissionid:25189037-anon_bt_address_udc_qpr_dev Change-Id: Icd435c99c8a4f2d1e6053f35cd509b3f8f34ae24
-
- Apr 25, 2024
-
-
Wenhao Shi authored
Test: no need Bug: 320419200 Change-Id: I6c894080bf476fb21773e2a44ef1f67ca37e4347
-
- Apr 24, 2024
-
-
Iván Budnik authored
The playback info field is NonNull, so getPlaybackInfo() is artificially returning a null value if the Binder transaction to system_server fails. As per go/android-api-guidelines#framework-rethrow-remoteexception we should always be rethrowing RemoteExceptions to provide a strong signal that the operation failed. In practice, the returned value is never null, unless system_server has died. Several CTS tests already assume this NonNull-ness. Test: atest CtsMediaBetterTogetherTestCases Bug: 333564788 Change-Id: Id18cce692d8d0b25486da427ef9860eb2f176aef
-
- Apr 23, 2024
-
-
Arun Johnson authored
Bug: 336058761 Bug: 333622829 Bug: 336058293 Test: android.mediav2.cts.CodecEncoderBlockModelMultiAccessUnitTest#testSimpleEncode Test: android.mediav2.cts.CodecUnitTest$TestApi#testQueueInputBuffersInUnInitState Change-Id: I4ce7fd2872ce3b4734050b68e5bf2c9b0519c898
-
Iván Budnik authored
Before this change, the method would not turn off scanning in system_server when a screen-on scan request was released. As a result, proxy routers would unknowingly keep scanning forever even after having cancelled their scan requests. Bug: 331202666 Test: atest MediaRouter2HostSideTest ProxyMediaRouter2HostSideTest Change-Id: I63563f38b7d53e608782e651150242519a55f5ce Flag: com.android.media.flags.enable_screen_off_scanning
-
Santiago Seifert authored
Bug: b/319645714 Change-Id: I7bf8374786cf3290951fc208a9b6a581389ee6b7 Flag: DOCS_ONLY Test: presubmit
-
- Apr 19, 2024
-
-
Yu Liu authored
Bug: 330354107 Test: CI Change-Id: I508c4ef2db631b723f85269527367e0adc0fb14e
-
Bishoy Gendy authored
This reverts commit 26b84ff4. Reason for revert: Flag will not be advanced to nextfood for V, so keeping the API consistent b/334875798#comment10. Change-Id: I7fa3aeaf2e86f030334f749ee7e5d8ca40ca2cae
-