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

Commit 5fea2a31 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "SurfaceFlinger: do not assert if setActiveConfigWithConstraints fails"...

Merge "SurfaceFlinger: do not assert if setActiveConfigWithConstraints fails" into rvc-dev am: abb891a7 am: 6e921da2

Change-Id: Idbd84b3c1149697911aa6501197d4173ab163b00
parents 98fd3969 6e921da2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1074,7 +1074,9 @@ bool SurfaceFlinger::performSetActiveConfig() {
                                                           mUpcomingActiveConfig.configId.value(),
                                                           constraints, &outTimeline);
    if (status != NO_ERROR) {
        LOG_ALWAYS_FATAL("setActiveConfigWithConstraints failed: %d", status);
        // setActiveConfigWithConstraints may fail if a hotplug event is just about
        // to be sent. We just log the error in this case.
        ALOGW("setActiveConfigWithConstraints failed: %d", status);
        return false;
    }