Skip to content
Snippets Groups Projects
  1. Nov 30, 2022
    • Brian Delwiche's avatar
      Fix OPP comparison · bbbbdb52
      Brian Delwiche authored
      isBluetoothShareUri_correctlyCheckUri (under
      com.android.bluetooth.opp.BluetoothOppUtilityTest) is failing
      on null input due to an incorrect comparison in
      isBluetoothShareUri.  Change the comparison to one which can
      cope with null input.
      
      Bug: 257190999
      Test: atest: BluetoothOppUtilityTest
      Tag: #security
      Ignore-AOSP-First: Security
      Change-Id: I61118f22577de7b975fb0df8dac8583e91f7b8c7
      (cherry picked from commit c9b53b95)
      Merged-In: I61118f22577de7b975fb0df8dac8583e91f7b8c7
      bbbbdb52
  2. Oct 04, 2022
    • Rahul Arya's avatar
      Pass IRK rotation flag into native · f7443b78
      Rahul Arya authored
      Ignore-AOSP-First: Security fix
      Test: Flashed build, set the prop and watched the stack restart
      Bug: 195410559
      Change-Id: I6496b34c144e697308109d5ee9528f4ae5c9b4b4
      Merged-In: I6496b34c144e697308109d5ee9528f4ae5c9b4b4
      f7443b78
  3. Sep 28, 2022
  4. Sep 12, 2022
  5. Aug 22, 2022
  6. Aug 11, 2022
  7. Aug 07, 2022
  8. Jul 26, 2022
    • William Escande's avatar
      Fix method not enforcing correct permissions · 040c9baf
      William Escande authored
      This missing enforcement were spotted by the erroprone build
      
      Bug: 236759221
      Fix: 240301753
      Test: m RUN_ERROR_PRONE=true Bluetooth
      Ignore-AOSP-First: Cherry-picked from aosp
      Merged-In: I5285f0754775c56a73ad1b6eef4bdb7ec3d59757
      Change-Id: I5285f0754775c56a73ad1b6eef4bdb7ec3d59757
      040c9baf
  9. Jul 22, 2022
  10. Jul 14, 2022
  11. Jul 13, 2022
  12. Jul 08, 2022
    • Rahul Sabnis's avatar
      Fixes a bug in the BluetoothDevice#getIdentityAddress API where it · 448c2830
      Rahul Sabnis authored
      returns the mAddress field of the device instead of null when the
      identity address is not known.
      
      Tag: #feature
      Bug: 238353063
      Test: atest AdapterServiceTest#testAddressConsolidate
      Ignore-AOSP-First: Change needs to land in TM release
      Change-Id: I577843c9e2cc279915d0632ff25bde66aa949e94
      448c2830
  13. Jun 30, 2022
  14. Jun 29, 2022
  15. Jun 24, 2022
    • Łukasz Rymanowski's avatar
      gatt: Fix incorrect write to the descriptor. · b64432cf
      Łukasz Rymanowski authored
      This patch fixes regression after
      https://android-review.googlesource.com/q/topic:gatt-racecondition-fix
      
      In case of GATT Write error to descriptor or characteristic,
      the value which was tried to be written is zeroed in the
      onWriteDescriptor/Characteristic callback.
      This cause an issue in following use case:
      
      1) Application writes descriptor on unencrypted link to characteristic
      which requires authentication
      2) Remote device response with an error insufficient authenthication
      3) Android repeats write descriptor with new authenthication
      requrements with the descriptor value taken from the onWriteDescriptor
      callbac - the one which was zeroed. This result in try to write
      invalid value to the descriptor
      
      This patch make sure that value in the callback is always the one which
      was tried to write, no matter of status.
      
      Bug: 235756799
      Test: atest BluetoothInstrumentationTests
      Tag: #stability
      Merged-In: Icd18b95a3c44c082117d035cdf25961938de829d
      Change-Id: Icd18b95a3c44c082117d035cdf25961938de829d
      (cherry picked from commit 24f45364)
      b64432cf
  16. Jun 23, 2022
    • William Escande's avatar
      Move user file along to the new package name · b94e4d79
      William Escande authored
      Repro step:
      * Flash old build
      * Pair device
      * Change it's metadata:
         * Change connection_policy
         * Change Volume
         * Change phone_access
      * build and flash without wipe
      * observe device metadata
      
      Test: Repro step above
      Bug: 234063703
      Ignore-AOSP-First: will be picked later
      Change-Id: I51f54f2fe8a91ee4ee28e1e58494e596510ebb55
      b94e4d79
  17. Jun 22, 2022
    • Sungsoo Lim's avatar
      Prevent IAE caused by empty media ids · 0ea3c8ae
      Sungsoo Lim authored
      Bluetooth naitive AVRCP device tracks path from the root node of
      MediaBrowserService app. But for the root MediaItem, it can be an
      empty string instead of the root id.
      
      Bug: 235516512
      Tag: #refactor
      Test: atest BluetoothInstrumentationTests
      Change-Id: I759f9c56f55326a1133743853070f63621d4a4a2
      (cherry picked from commit 29ffcbdc)
      0ea3c8ae
    • Kyunglyul Hyun's avatar
      Handle empty battery level · 4e9e5edd
      Kyunglyul Hyun authored
      Handle when the battey level characteristic
      is empty.
      
      Tag: #feature
      Bug: 236558674
      Bug: 236455846
      Test: atest BatteryStateMachineTest
      
      Merged-In: I0ef3906dac9ce3928e238a056e5ed9d0cc760a4e
      Change-Id: I0ef3906dac9ce3928e238a056e5ed9d0cc760a4e
      (cherry picked from commit b4afde73)
      4e9e5edd
  18. Jun 21, 2022
  19. Jun 17, 2022
    • Rahul Sabnis's avatar
      Remove the BT APK's dependency on the DUMP permission. · 0ac3961d
      Rahul Sabnis authored
      The permission enforcement was moved to the binder and therefore it is
      not required when dumpsys is directly invoked on the AdapterService
      
      Tag: #feature
      Bug: 232437658
      Test: Manual
      Ignore-AOSP-First: Missing some APEX-related files in AOSP
      Change-Id: Id39d7fdd9c1ee7e363d99458b0de6349a791d1af
      0ac3961d
    • Jack He's avatar
      GATT-Caching: Disable GATT caching by default · edbb095d
      Jack He authored
      Bug: 235480570
      Bug: 235756799
      Test: request manual QA
      Tag: #feature
      Change-Id: I4ca1cece807b1af05c5d878058583f5cad3f8812
      (cherry picked from commit e67e424feb21f5b22645cc58ee9742e965ec8b2b)
      edbb095d
    • Bill Yi's avatar
      Import translations. DO NOT MERGE ANYWHERE · 991b193f
      Bill Yi authored
      Auto-generated-cl: translation import
      Change-Id: I747bbe9566d1d20b69db1612659eb338f6b64805
      991b193f
  20. Jun 15, 2022
  21. Jun 14, 2022
  22. Jun 10, 2022
    • Etienne Ruffieux's avatar
      BluetoothDevice#getUuids() returns null again when no Uuids · aa512dab
      Etienne Ruffieux authored
      getUuids was wrongly returning an empty array of Uuids when
      fetchUuidsWithSdp had not been called. It now returns null
      again.
      
      Test: atest CtsBluetoothTestCases
      Bug: 235456437
      Tag: #feature
      Ignore-AOSP-First: will be cherry-picked
      Change-Id: If8aafc1b0ab4e253fdacc827726d76825b3bd1e4
      aa512dab
  23. Jun 08, 2022
  24. Jun 07, 2022
  25. Jun 06, 2022
  26. May 26, 2022
Loading