Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00f135d1 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge "ScanRecord.getServiceData NPE fix" am: d62f74e8

am: 8d0eb018

Change-Id: I9a7e94cb51f724da7d089fbe027a06d36ad5ebb4
parents 3ef3fae2 8d0eb018
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ public final class ScanRecord {
     */
    @Nullable
    public byte[] getServiceData(ParcelUuid serviceDataUuid) {
        if (serviceDataUuid == null) {
        if (serviceDataUuid == null || mServiceData == null) {
            return null;
        }
        return mServiceData.get(serviceDataUuid);