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

Commit 25a83393 authored by Dan Stoza's avatar Dan Stoza Committed by Android Git Automerger
Browse files

am 85e271d0: Merge "sf: Add a NULL check in getDisplayConfigs"

* commit '85e271d0':
  sf: Add a NULL check in getDisplayConfigs
parents 35710ab0 85e271d0
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;
    }