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

Commit 85e271d0 authored by Dan Stoza's avatar Dan Stoza Committed by Gerrit Code Review
Browse files

Merge "sf: Add a NULL check in getDisplayConfigs"

parents ffe3e96a 40da48bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -546,7 +546,7 @@ bool SurfaceFlinger::authenticateSurfaceTexture(

status_t SurfaceFlinger::getDisplayConfigs(const sp<IBinder>& display,
        Vector<DisplayInfo>* configs) {
    if (configs == NULL) {
    if ((configs == NULL) || (display.get() == NULL)) {
        return BAD_VALUE;
    }