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

Commit 2fc8ad1f authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Properly close Surface when done." into jb-mr2-dev

parents 338b1884 e50d7fcd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ class ScreenRotationAnimation {
                mSurfaceControl.setLayer(FREEZE_LAYER + 1);
                mSurfaceControl.setAlpha(0);
                mSurfaceControl.show();
                sur.destroy();
            } catch (SurfaceControl.OutOfResourcesException e) {
                Slog.w(TAG, "Unable to allocate freeze surface", e);
            }