Skip to content
Snippets Groups Projects
  1. May 29, 2024
    • Iván Budnik's avatar
      Fix RemoteException handling in MediaController · 66b138c8
      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
      66b138c8
  2. May 14, 2024
  3. May 09, 2024
    • Santiago Seifert's avatar
      Fix output switcher initiator data · 122c718f
      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
      122c718f
  4. May 07, 2024
    • Santiago Seifert's avatar
      Remove duplicate check before transfer · 310ba607
      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
      310ba607
  5. May 03, 2024
    • Oriol Prieto Gasco's avatar
      RESTRICT AUTOMERGE · 7b816129
      Oriol Prieto Gasco authored
      Set the container field of aconfig flags
      
      Test: printflags --format='{package}:{container}:' | grep "::"
      Bug: 312769710
      Flag: NONE
      Change-Id: I84fda0d5e9813940609436d825738ff786908ff0
      7b816129
  6. May 02, 2024
  7. May 01, 2024
  8. Apr 30, 2024
  9. Apr 29, 2024
    • Ted Bauer's avatar
      Add deps for new aconfig flagging storage · e7b0c754
      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
      e7b0c754
  10. Apr 26, 2024
  11. Apr 25, 2024
  12. Apr 24, 2024
    • Iván Budnik's avatar
      Fix nullability in MediaController#getPlaybackInfo() · 5a3013b4
      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
      5a3013b4
  13. Apr 23, 2024
    • Arun Johnson's avatar
      Correcting Offset and size checks while queing · 09b83103
      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
      09b83103
    • Iván Budnik's avatar
      Fix cancelScanRequest() scanning state update logic · 21d08b50
      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
      21d08b50
    • Santiago Seifert's avatar
      Remove @FlaggedApi from non-API symbols · ff7c906d
      Santiago Seifert authored
      Bug: b/319645714
      Change-Id: I7bf8374786cf3290951fc208a9b6a581389ee6b7
      Flag: DOCS_ONLY
      Test: presubmit
      ff7c906d
  14. Apr 19, 2024
  15. Apr 18, 2024
    • Arun Johnson's avatar
      Checking BadOffset while queuing buffers · 8b390cb1
      Arun Johnson authored
      Bug: 331977352
      
      Test: atest android.mediav2.cts.CodecUnitTest$TestApi#testQueueInputBuffersWithBadOffset
      Flag: codec_fwk.com.android.media.codec.flags.large_audio_frame
      Change-Id: Ic95bd99a88b83885c409881d1e4d3229f4a9ca0d
      8b390cb1
    • Robert Wu's avatar
      MIDI: Add java imports to UMP MIDI docs · 956bbaa1
      Robert Wu authored
      Bug: 335666113
      Test: presubmit
      Change-Id: Iefbf8864dbc90425a4b8b8e54314f69b97588969
      956bbaa1
    • Bishoy Gendy's avatar
      Hide STATE_PLAYBACK_SUPPRESSED from the public api · 26b84ff4
      Bishoy Gendy authored
      API deadline was missed for advancing trunk stable flag to nextfood,
      so removing STATE_PLAYBACK_SUPPRESSED from the api for V to advance the
      flag. It should be added to the API with the next release.
      
      Bug: b/295518668
      Test: mp droid
      Change-Id: I5cec250bcb02745c05570c7be5fbd2ab230abd26
      26b84ff4
    • Robert Wu's avatar
      MIDI: Add exported="true" to docs · 9598114d
      Robert Wu authored
      Bug: 335517441
      Change-Id: I4abb20b81a39333476bb520660efaa09b2b0fe0c
      Test: presubmit
      9598114d
  16. Apr 17, 2024
    • Robert Wu's avatar
      MIDI: Remove < from docs · c34d4405
      Robert Wu authored
      "<" needs to be replaced with "&lt;" in docs.
      
      Bug: 335516003
      Test: presubmit
      Change-Id: I18bc9a0a01d54c72175b27146b624903dc289924
      c34d4405
    • Wonsik Kim's avatar
      MediaCodec: add log around Handler.removeMessages · ff8446f8
      Wonsik Kim authored
      Bug: 326010604
      Test: atest CtsMediaV2TestCases:CodecDecoderTest CtsMediaV2TestCases:CodecEncoderTest
      Change-Id: I24e9bd768349a68b1eb7717c2170b8b6cf18baa3
      ff8446f8
    • Marvin Ramin's avatar
      Make MediaDrm device-aware · 00c8254c
      Marvin Ramin authored
      Cap DRM sessions at max. SW_SECURE_CRYPTO security level for sessions opened by
      applications that are currently visible on a Virtual Device.
      
      Goal is to ensure applications do not get misled that full hw backed DRM is available
      (which it generally would be on the host device). As virtual devices
      operate with virtual displays hw backed DRM will not be available and we now report
      it as such for applications.
      
      Bug: 306374719
      Test: atest VirtualDeviceDrmTest
      Change-Id: I55acb7d15e19611a702492c71dccce2f973fd37c
      00c8254c
  17. Apr 16, 2024
  18. Apr 15, 2024
  19. Apr 12, 2024
  20. Apr 10, 2024
    • Bishoy Gendy's avatar
      Implement Paused state logic for FGS · e60a53a8
      Bishoy Gendy authored
      - This also handling the missing permssion exception in b/333370745
      which caused the initial CL to be reverted.
      
      Bug: 295518668
      Bug: 333370745
      Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsDelegateTest.java
      Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.media.QSMediaControllerPlayAndPause#testPlayAndPause
      Test: Using MediaRouter SampleApp
      Change-Id: I19b832d53550935c56e52e5e35c10d8c10c57a4c
      e60a53a8
  21. Apr 08, 2024
Loading