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

Commit 71ca0471 authored by Yunlian Jiang's avatar Yunlian Jiang Committed by android-build-merger
Browse files

Merge "fix warning: Dereference of null pointer" am: a2e67eb9

am: 7ac1f99e

Change-Id: I99cb39bc90224c2c59e392eb02f5ce8d1c5b99ab
parents 1affa644 7ac1f99e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1917,7 +1917,7 @@ status_t AudioFlinger::openOutput(audio_module_handle_t module,
              config->channel_mask,
              flags);

    if (*devices == AUDIO_DEVICE_NONE) {
    if (devices == NULL || *devices == AUDIO_DEVICE_NONE) {
        return BAD_VALUE;
    }