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

Commit abb891a7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SurfaceFlinger: do not assert if setActiveConfigWithConstraints fails" into rvc-dev

parents 5fad64e0 5e95aa26
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;
    }