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

Commit 1719e70b authored by George Burgess IV's avatar George Burgess IV Committed by android-build-merger
Browse files

Merge "surfaceflinger: fix static analyzer complaints" am: 6d31f4eb

am: 72e78203

Change-Id: If51dceb9b5cb892601eb8ec14b5d4b4c09f5288d
parents a7df41d9 72e78203
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2201,7 +2201,7 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
                    sp<const DisplayDevice> hw(mDisplays[dpy]);
                    if (layer->belongsToDisplay(hw->getLayerStack(), hw->isPrimary())) {
                        if (disp == NULL) {
                            disp = hw;
                            disp = std::move(hw);
                        } else {
                            disp = NULL;
                            break;