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 | e8c3b91dc306dfae808b4baab395ee66302a6390 (patch) | |
tree | a6d6429331fd6078a3ca9a82fb5e1d983eda3e1b /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a0c97b3ddb8ec27c1accd257afd20bee6b6b9265 (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 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions