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

Commit 19cd0ab2 authored by Yunlian Jiang's avatar Yunlian Jiang Committed by android-build-merger
Browse files

Merge "Fix dereference null pointer warning." am: 4065e775 am: 8bb45af7 am: 71e9c9c6

am: b7dc6d23

Change-Id: I0cb6805b770a4ccf3bbcb2d54771fb6f7db13a52
parents d5ab689a b7dc6d23
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -88,7 +88,9 @@ public:
        data.writeInt32(handle);
        data.writeStrongBinder(IInterface::asBinder(client));
        ALOGV("attach() config %p withAudio %d region %d type %d",
              config == NULL ? 0 : config, withAudio, config->region, config->band.type);
              config == NULL ? 0 : config, withAudio,
              config == NULL ? 0 : config->region,
              config == NULL ? 0 : config->band.type);
        if (config == NULL) {
            data.writeInt32(0);
        } else {