summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorRuina Liu <ruina.liu@mediatek.com>2017-07-22 18:41:48 +0800
committerTing Zheng <ting.zheng@mediatek.com>2017-09-15 17:08:32 -0700
commit044e0fe5c5de11c02725428fd09302216184537f (patch)
tree540ee69b7bdd9ab2ce215b1536eba174a1f3093e /rs/java/android/renderscript/ProgramStore.java
parentfab8162abd97c7739fdef7de43328e83fcaec0be (diff)
Fix extracting 32-bit uuid error via calling method uuidToBytes
A new defined method of uuidToBytes is used to convert Bluetooth uuid to bytes in the case of BLE advertising. But the most significant 16 bits of a 32-bit uuid will be cleared after the and operations with 0X0000FFFF00000000L in the function of getServiceIdentifierFromParcelUuid. 0XFFFFFFFF00000000L should be used as bit mask. Change-Id: I83e22ffbecd718540e644289fee12bf9c3b66305 Test: Advertise with payload contains 32-bit uuid
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions