Skip to content
  1. Nov 26, 2021
    • Kevin Rocard's avatar
      Limit transcoding size workaround to windows · f0fbd643
      Kevin Rocard authored
      Test: Connect android to windows through usbc.
            Enable mtp, then enable the transcoding option.
            Copy H265 video from the camera folder to windows' desktop.
            Transcoded H264 video plays correctly in WMPcorrectly.
      
      Bug: 184117074
      Bug: 190422448
      Change-Id: I17264f0ee3e742315569d4c50817b1da7f3f2eb4
      f0fbd643
    • Zim's avatar
      Workaround to fixup MTP transcode file size · 1cfc0c74
      Zim authored
      Some Windows MTP clients ignore the file size sent from the server
      while sending MTP objects, and instead rely on the cached MTP metadata
      containing the size. This causes file corruption when transcoded files
      are transferred from phone to PC because the file is truncated to the
      original file size from the cached metadata which is smaller than the
      transcoded file size.
      
      To workaround this, MediaProvider added an ugly workaround to the
      struct stat st_nlink field to signal when a file requires
      transcoding. In such cases, the MTP server can double the metadata
      size, the same heuristic used in the MediaProvider to accommodate the
      transcoded file size.
      
      Test: atest MtpTests
      Bug: 184117074
      Bug: 190422448
      Change-Id: I0581978fb346e3dc2d7a5204ffd7c601b61ec749
      1cfc0c74
  2. Nov 25, 2021
  3. Nov 24, 2021
  4. Nov 23, 2021
  5. Nov 22, 2021
  6. Nov 21, 2021
    • Baligh Uddin's avatar
    • Baligh Uddin's avatar
      Add visibility for packages/modules/Bluetooth/android/app · 2034ab84
      Baligh Uddin authored
      The code residing in packages/modules/Bluetooth/android/app is
      migrated from packages/apps/Bluetooth and requires the same
      visibility rules for frameworks source code.
      
      This path currently does not exist, but will be required for
      migration.  Soong build rules do not enforce path existence, which
      allows us to add the new path now and not during migration.
      
      Added visibility along with migrated code in a local tree and
      performed a local build (bramble-userdebug)
      
      BUG: 196026708
      Test: TH
      Change-Id: I66cac592489fc1689d45a7b6427bc58c40a824e2
      2034ab84
  7. Nov 19, 2021
Loading