Revert "Revert "Need to now pass in active device instead of nul..."

Revert "Revert "Pass in active device to all BluetoothA2dp APIs ..."

Revert "Revert "Require user pass in a non-null BluetoothDevice ..."

Revert "Revert "Pass in active device to all BluetoothA2dp APIs ..."

Revert "Revert "Pass in active device to all BluetoothA2dp APIs ..."

Revert submission 10303287-revert-10253996-bt-a2dp-no-null-FQRXACWPIA

Reason for revert: Fixing breakage
Reverted Changes:
I4d9f2f819:Revert "Make sure calls to BluetoothA2dp APIs pass...
I771ca0d57:Revert "Need to now pass in active device instead ...
I76529c7a1:Revert "Pass in active device to all BluetoothA2dp...
I297bda68d:Revert "Require user pass in a non-null BluetoothD...
I525327959:Revert "Pass in active device to all BluetoothA2dp...
I1d8660b11:Revert "Pass in active device to all BluetoothA2dp...

Bug: 147287141
Test: Manual
Merged-In: I4fd959709d28d2d23c29a6f0beed76970de2c93c
Change-Id: I4fd959709d28d2d23c29a6f0beed76970de2c93c
2 files changed
tree: b078de0c05726c917d5f6b9d541450a4e1b67f06
  1. .clang-format
  2. .gitignore
  3. Android.mk
  4. CleanSpec.mk
  5. EncryptionRunner/
  6. FrameworkPackageStubs/
  7. OWNERS
  8. PREUPLOAD.cfg
  9. README.md
  10. car-bugreportd/
  11. car-default-input-service/
  12. car-lib/
  13. car-maps-placeholder/
  14. car-systemtest-lib/
  15. car-test-lib/
  16. car-usb-handler/
  17. car_product/
  18. evs/
  19. obd2-lib/
  20. procfs-inspector/
  21. service/
  22. tests/
  23. tools/
  24. user/
  25. vehicle-hal-support-lib/
README.md

Native (C++) code format is required to be compatible with .clang-format file. Run

git clang-format --style=file --extension='h,cpp,cc' HEAD~

Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.