diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2017-08-08 15:47:57 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2017-08-09 17:26:14 +0000 |
commit | 90740d5520ca5f34b7bda177bdba5a343bf331b4 (patch) | |
tree | cd73f89ead96d33fae42efa2d14516553f7c7798 /framework/java/android/bluetooth/BluetoothCodecStatus.java | |
parent | 1efd8ff2a5a6ee351ad9708dbe2baafe74e16095 (diff) |
Bluetooth: AdvertiseData parceling simplification
Use writeTypedArray instead of writeList - this will not serialize
string with type name, which is unnecessary
Use createByteArray instead of readByteArra - it takes care of null and
empty array handling
Test: sl4a FilteringTest, BleAdvertiseApiTest
Change-Id: I6a22674a0bf9933e39691de7f2b2b52a060ae368
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecStatus.java')
0 files changed, 0 insertions, 0 deletions